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

Home -> Community -> Mailing Lists -> Oracle-L -> Out put in a single line

Out put in a single line

From: Tatireddy, Shrinivas (MED, Keane) <Shrinivas.Tatireddy_at_med.ge.com>
Date: Mon, 10 Dec 2001 19:00:44 -0800
Message-ID: <F001.003D974D.20011210185019@fatcity.com>

Hi lists,

Solaris: 2.6
Oracle 8i

I am trying to extract insert statements from archive log files using log miner.

All the statements are collected into a spool file. We ran them against another database (test schema).

But the insert statement taken from this arch logs is split into multiple lines.

I have to manually open the spool file in vi and remove unwanted spaces and I am making it into single line.

Then only the insert is successful.

There are around 20,000 insert statements in that spool file.

You know how much time it will take to modify each statement.

Does anybody throw some light....

how can I make the insert statements into a single line...?

or

is there a way to get the data in a single line from archive log.

select sql_redo from v$logmnr_contents;

If this is finished, we can move to production. Hope u can understand it is urgent.

Thnx in advance,

Srinivas

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Tatireddy, Shrinivas (MED, Keane)   INET: Shrinivas.Tatireddy_at_med.ge.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Dec 10 2001 - 21:00:44 CST

Original text of this message

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