Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to create cursor inside begin/end block in pl/sql
>We have a requirement that depending upon the input parameter passed we have to declare the cursor accordingly.
Harvinder
You can use PL/SQL cursor variables; see the PL/SQL User Guide and Reference - which includes examples - at:
http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#1510
Regards Nigel
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Dec 06 2006 - 02:08:20 CST
![]() |
![]() |