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

Insecure cookie setting: missing Secure flag

Display Line Chart Using Chart.js MVC C#