Hello All,
I am using SQL Server 2008. In my Sproc i am taking big sql query in nvarchar(max) type variable and execute it with exec....but the problem is that its exceeding limits and i am not able to execute whole query.my query size is 9778.
help me if you know the solution for this problem.
Loading


Suthish NairRank #92 · 22.8K reputationPosted Aug 25, 2011, 10:48 PM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Aug 25, 2011, 10:51 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Aug 25, 2011, 11:15 PM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Aug 25, 2011, 11:19 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Aug 25, 2011, 11:25 PM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Aug 25, 2011, 11:42 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Aug 26, 2011, 1:03 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Aug 26, 2011, 3:16 AM EDT
Pravin MoreRank #1,419 · 1.2K reputationPosted Aug 26, 2011, 5:47 AM EDT
ya even i think there might be some syntax error but due to lack of time i executed it from c# code.
thanx suthish for your help.
Pravin.