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

Click here to load this message in the networking platform