Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to execute A Large (>4000 char) unicode statement u
Message
De
29/04/2004 16:53:39
 
 
À
29/04/2004 15:15:25
Mark Mcneil
Solutions Technology Group
Martinsville, Virginie, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00899484
Message ID:
00899513
Vues:
18
According to the BOL, sp_executesql allows a NTEXT as the datatype for the parameter that contains the SQL. You're limited to a batch size of 1GB.

-Mike

>I have a large statement @SQL that can dynamically grow up to about 6000 characters.
>
>I need to execute this statement using :
>
>sp_executesql
>
>since the stored procedure parameter accepts only a single variable and the + operator is not allowed, how can I execute this statement using this stored procedure?
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform