Tuesday, May 14, 2013
PLSQL LIMIT
declare
cursor a_cur is
select program_id
from airplanes;
type myarray is table of a_cur%rowtype;
cur_array myarray;
begin
open a_cur;
loop
fetch a_cur bulk collect into cur_array limit 1000;
exit when a_cur%notfound;
end loop;
close a_cur;
end;
/
FOR More info Please go through the URL: http://psoug.org/reference/array_processing.html
Labels:
PL/SQL TABLE
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment