|
-
March 18th, 2005, 09:27 AM
#1
First row of ref cursor
I have something like this...
mycursor REFCUR;
OPEN mycursor FOR
Select a, b,c from yada;
I loop through the the cursor using fetch 1 time... I want to loop through the cursor a second time, however the cursor is pointing at the last row. Is there a way to reset it to the first row again without doing the query all over.
-
March 20th, 2005, 03:49 AM
#2
Re: First row of ref cursor
Hi..
Depending on youe cursor type, you can use :
Code:
FETCH FIRST FROM REFCUR
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|