Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL 'DUMP' From Oracle - How?

Re: SQL 'DUMP' From Oracle - How?

From: <asp_at_ramboll.dk>
Date: 28 May 1998 11:16:04 +0200
Message-ID: <uwwb6u563.fsf@ramboll.dk>

mark_tortolano_at_dial.pipex.com (Mark Tortolano) writes:
>
> Hi there,
>
> I'm trying to dump the contents of a table, in order to create a
> series of SQL INSERT statements. I know the functionality of Export,
> but I just want to create INSERT statements, not an Oracle-specific
> binary.
>
> How do I do this? Is the only way to create a (fiddly) SQL*Plus
> report, using headings, separators, etc, or is there a better way?

Here's a (fiddly) SQL*Plus script that does what you want. The quotes are messy but it works.

Lighter, mite.
--Anders.

--

asp_at_ramboll.dk          Consultant Engineer, M.Sc.EE         RAMBOLL, Denmark
                         Standard disclaimers apply
          This posting was typed in front of a large studio audience
Received on Thu May 28 1998 - 04:16:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US