Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Must declare the scalar variable @indexName
Message
 
 
To
05/03/2008 11:37:49
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01298965
Message ID:
01298972
Views:
26
>>Are you ahve multiple batches (separated by GO) in the script? DECLARE is scopped to a batch.
>
>Yes, there are a lot of GO. What would be the specific guidelines on how to use GO in such a case?

May be you don't need GO at all if this is one script?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform