Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Slow Query in PL/SQL Block
Here is a code snippet I found in this group. Just adapt it to your
tables/columns:
create or replace
procedure testproc is
cursor c is select n from test ; type t is table of number index by binary_integer; r t; begin r.delete; open c; fetch c bulk collect into r; close c;
Daniel Received on Mon Aug 15 2005 - 08:57:17 CDT
![]() |
![]() |