Saturday, July 23, 2011

'int' is not a recognized CURSOR option.


This error occurs when a variable name is preceded by # instead of @. # is used to declare temporary table
declare #myi int
Should be replaced by
declare @myi int

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Deep's | Bloggerized by Deep - Deep's Templates | ElearSQL-Server