Re: Improve performance when Insert into ... select ...
Posted by:
Lyu Joey
Date: December 15, 2016 08:18PM
The main procedure structure is like this:
WHILE TO_DAYS(syncDate) <= TO_DAYS(Now()) DO
call dw.sp1(syncDate);
call dw.sp2(syncDate);
call dw.sp3(syncDate);
call dw.sp4(syncDate);
call dw.sp5(syncDate);
SET syncDate = DATE_ADD(syncDate, INTERVAL 1 DAY);
END WHILE;
the syncDate initial value is '2016-01-01', each sub-sp has 3 or 4 'insert into ... select ’ SQL statements
Subject
Views
Written By
Posted
1650
December 15, 2016 03:59AM
2226
December 15, 2016 10:00AM
1194
December 15, 2016 07:34PM
1163
December 15, 2016 08:08PM
Re: Improve performance when Insert into ... select ...
1303
December 15, 2016 08:18PM
1077
December 15, 2016 09:16PM
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.