INF: Stored Procedures Can Be Nested 16 Levels DeepLast reviewed: April 25, 1997Article ID: Q47465 |
The information in this article applies to:
You can nest stored procedures in Microsoft SQL Server (that is, one stored procedure can call another). There is a limit of 16 levels when nesting stored procedures. Attempting to exceed the maximum of 16 levels of nesting causes the whole calling procedure chain to fail, and an overflow error occurs. The current nesting level is stored in the @@nestlevel global variable.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |