Hi all,
When we use Nested Stored Procedures in sql server. How to execute it.
Nesting Stored Procedures
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Anil KumarRank #367 · 6.8K reputationPosted Nov 26, 2012, 11:58 PM EST
When a stored procedure is get called from a stored procedure it comes in context of Nested stored procedure.The nest level increases each time a stored procedure calls another and stopped when nesting level 32 reached.
It is used to break huge level of SQL code into smaller pieces.And it helps to find the mistakes if any and in modifications.
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 26, 2012, 7:20 PM EST
http://www.java2s.com/Tutorial/SQLServer/0420__Procedure-Function/NestingStoredProcedures.htm
Anil KumarRank #367 · 6.8K reputationPosted Nov 26, 2012, 7:30 PM EST
http://msdn.microsoft.com/en-us/library/ms190607(v=sql.105).aspx
execute examples can be seen here :
http://msdn.microsoft.com/en-us/library/ms187371(v=sql.105).aspx
Rohatash KumarRank #12 · 57.7K reputationPosted Nov 26, 2012, 7:52 PM EST
When we use Nested Stored Procedures in sql server?