Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello All,

Is there any work around for a cursor in sql 2008? Please let me know if you have any idea.

Thanks in Advance.
Regards
Posted
Comments
DaveAuld 13-Jul-11 11:24am    
What exactly is your problem, what are you trying to work around?
Roliking 13-Jul-11 11:55am    
well work around i mean to say is there any way i can loop through the result set without the use of a cursor.

1 solution

Yes.

WHILE loop, User Defined Functions, Temp table, Table variables, etc.,
SQL SERVER Cursor alternatives[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900