I'm looking at a way to speed up a huge insert (100K records at a time). In looking at 
FORALL, it looks like it could do what I want, but I'm not sure how to set it up 
correctly. What I currently do is:

set up a cursor, selecting the rows from table a
for cursor_rec in cursor_data loop
   insert into table b
   commit evey 2K rows
end loop

Is there a better way to do this?

Thank you for your help.


-- 
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