Maximum Stored Procedure Function Trigger or View Nesting Level Exceeded (limit 32) in SQL Server

                  In SQL Server I am facing some error on when it Runs Procedure. That as Maximum Stored Procedure Function Trigger or View Nesting Level Exceeded (limit 32) in SQL Server.


Reason:

                     user-defined function begins execution and decreases by one when the called stored procedure, managed code reference, or user-defined function completes execution. Attempting to exceed the maximum of 32 levels of nesting causes the whole calling chain to fail and for this error message to be raised.

 




Solution:

To Run this code in Your SQL SERVER Avoid In this Error.

SP_CONFIGURE 'nested_triggers',0
GO
RECONFIGURE
GO

Comments

Popular posts from this blog

Display Canvasjs Line Chart using Data from Database

What are the SOLID principles, and why are they important

Write Text in Notepad files Using Asp.net