Click here to Skip to main content
15,915,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
"Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries."


i have 120 query statements in my stored procedure.
I am getting this error when i add another one,it not allow me to write more than 120 query's .i googled it,but it's said to split the query.is there any other way to solve this issue.
Posted
Comments
Writing these many queries inside Stored Procedure is not a good practice, I believe.

If the error message suggests that you can't add queries further, then you will not able to add.
King Fisher 24-Mar-14 1:37am    
thank you Tradit Dash.
Welcome. Added one answer. :)
King Fisher 24-Mar-14 1:52am    
can i ask you something apart from this
Sure, go on. But don't forget to mark Solution 1 as answer.

1 solution

Writing these many queries inside Stored Procedure is not a good practice, I believe.

If the error message suggests that you can't add queries further, then you will not able to add.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900