Re: create table as select block my insert
> OK, there is an ugly way -- copy X into the CREATEd table a thousand rows at a time. You could probably make a Stored Procedure to hide the ugliness from the analysts.
I did that already since I don't have any other solution.
the problem is that you lock the table X rows at a time for many times.
the other option which I implemented is to write a procedure that use a cursor on the Main table and copy the rows to the new table (with commit every X rows). it works but it take longer.
Subject
Views
Written By
Posted
2486
October 05, 2014 03:25PM
1209
October 06, 2014 12:43PM
1454
October 06, 2014 02:28PM
1256
October 07, 2014 04:08PM
Re: create table as select block my insert
990
November 05, 2014 09:59AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.