Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to execute A Large (>4000 char) unicode statement u
Message
From
29/04/2004 16:53:39
 
 
To
29/04/2004 15:15:25
Mark Mcneil
Solutions Technology Group
Martinsville, Virginia, United States
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00899484
Message ID:
00899513
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform