If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Declaring Cursors

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-20-02, 09:54
rwilkerson rwilkerson is offline
Registered User
 
Join Date: Feb 2002
Location: Baltimore, MD
Posts: 26
Declaring Cursors

Is it possible to declare a cursor in the declarations section of a procedure, but populate the cursor in the executable section? I need to add functionality to an existing procedure which will require me to loop over records in a temporary table that is created within the executable section. Cursors are the only way I can think of to access the records one at a time, but then I run into the question of population.

If not, is there another way to do what I need? Suggestions and/or other solutions are much appreciated.

Thanks.
__________________
Rob Wilkerson
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On