Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very big EXECUTE() line
Message
From
22/03/2011 16:44:53
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Title:
Very big EXECUTE() line
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01504574
Message ID:
01504574
Views:
99
I have an EXECUTE() line which executes the content of a variable. The variable string has 4563 characters. However, if I use this declaration:
DECLARE @SQL nvarchar(max)
...it is not big enough.

I can go higher with this declaration:
DECLARE @SQL nvarchar(4000)
But, it is still not big enough.

Any idea on the proper declaration to host such a big string?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform