Not knowing exactly how the SQL Looks in v$logmnr_contents, I hazard a guess that because the sql_redo column is VARCHAR2(4000), it contains the entire SQL statement? (ie, the SQL statement is not split over multiple rows in the table as it is in, say, USER_SOURCE?
If that's the case, then I'd guess that your problem is that the line length in SQL*Plus is too short. If you issue a "set linesize 4000" and rerun your query to spool the statements out, each statement should be on a single line. hth -arn >>> [EMAIL PROTECTED] 11/12/2001 13:50:19 >>> This message has been scanned by MAILSweeper. ************************************************************ 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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). ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Arn Klammer INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).