Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

INSERT INTO SELECT with Commit option

user12028119Apr 12 2012 — edited Apr 12 2012
hi all,
I am not pl/sql guy, need to looking for small help from you gurus.
I have below script which I am going to use to copy over few millions of rows via db-link, I want put this into pl/sql block with commit option every after 10K rows.

can anyone please help on this ?

INSERT INTO SCHEMA.TABLE_NAME
(COLUMN1,COLUMN2,COLUMN3)
SELECT
COLUMN1,COLUMN2,COLUMN3@DB-NAME DB
WHERE DATE > TO_DATE('2012/3/20 07:00:00','YYYY/MM/DD HH24:MI:SS') ;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2012
Added on Apr 12 2012
18 comments
11,377 views