Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very big EXECUTE() line
Message
 
 
To
22/03/2011 16:54:51
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01504574
Message ID:
01504579
Views:
43
This message has been marked as a message which has helped to the initial question of the thread.
>>nvarchar(max) should be enough. You may be falling into some trap here when you concatenate mulitple strings into one. Are you using PRINT to see the output? If so, it's limited to 8000 characters.
>
>I think that could have been the reason. BTW, what is the value of max?

2GB is the MAX, as far as I know. See trick used in this blog http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/how-to-script-all-stored-procedures-in-a to outcome the 8000 chars limitation.
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