Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving in a cursor when creating a stored proc.
Message
From
07/05/2001 12:29:44
 
 
To
07/05/2001 12:10:50
Erin Eby
Mission Critical Software
Gainesville, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00504247
Message ID:
00504262
Views:
14
>Hi all. I'm creating a stored procedure in SQL Server 7.00, and I'm having some difficulty scanning through the cursor. I am successfully using the fetch next command to go through the cursor once, but when it's done scanning the first time, i don't know how to get it to go back up to the top so i can scan again. any ideas?
>
>tia,
>erin :)

The cursor will have to be declared as something other than "Forward-only". You should be able to use the FETCH FIRST... syntax to get the first record and go from there.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform