Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> PL/SQL CREATE SEQUENCE
Why does this pl/sql script prompt for the cursor name when I have
supplied in the script itself?
SQL> get test3.sql
1 Declare
2 cid INTEGER;
3 -- This procedure is used to create a new sequence used to 4 -- populate the seq_number column in each NCR table 5 -- with a unique ascending sequence number starting 6 -- with 1.
18 WHEN OTHERS THEN 19 DBMS_SQL.CLOSE_CURSOR(cid); 20 RAISE; -- reraise the exception21* END;
PL/SQL procedure successfully completed.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Feb 11 2000 - 13:14:17 CST
![]() |
![]() |