Hi,

    I am writing a one-time proc to copy all records from one table to another table 
with a commit level of 1 record.  I wrote a proc to do this using a cursor and for 
loop but was wondering if there was an alternative syntax for the insert using the 
current cursor?

    Ie.  Insert into table_A (select current record)

    Instead of having to use the VALUES syntax (the table has ALOT of columns)


    Pretty much my purpose is to get the the table to re-fire an insert trigger 
(trigger needed to be disables during the intial load).... so now I am making a backup 
table and copying the records in one by one , commiting each to get the trigger to 
complete for each row (the trigge fills other tables etc).

    Any suggestions (and yes, I am in the manuals, but they only showing thus far the 
VALUES syntax).....

Thanks,

    Hannah
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  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).

Reply via email to