Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> "RETURNING...BULK COLLECT" - code check
Code below works but
But is Line#5 "RETURNING ...BULK COLLECT" "legit" usage/syntax ?
I just want assurance
thanks
SQL> DECLARE
2 TYPE typ_tab_empno IS TABLE OF myemp.empno%TYPE; 3 l_tab typ_tab_empno ; 4 BEGIN 5 UPDATE myemp SET job = 'COMEDIAN' RETURNING empno BULK COLLECTINTO l_tab ;
PL/SQL procedure successfully completed
-- 10gR2Received on Tue Nov 14 2006 - 21:27:46 CST
![]() |
![]() |