Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Monster select
Message
From
20/11/2001 08:25:20
 
 
To
20/11/2001 05:57:45
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Miscellaneous
Thread ID:
00583822
Message ID:
00583855
Views:
32
You could split your query into multiple variables:

DECLARE @part1 nvarchar(4000), @part2 nvarchar(4000)

SET @part1 = 'SELECT * '
SET @part2 = 'FROM authors'

EXECUTE(@part1 + @part2)

EXECUTE() should accept a query up to the max. size of a batch which is 65K * Network Packet Size (default = 4K)

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform