Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very big EXECUTE() line
Message
De
22/03/2011 16:44:53
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Titre:
Very big EXECUTE() line
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01504574
Message ID:
01504574
Vues:
100
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform