>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.