Google News
logo
SQL Server - Quiz(MCQ)
Nesting level of a stored procedure's execution is stored in the _________ function.
A)
@@NEST
B)
@@LEVEL
C)
@@NESTLEVEL
D)
None of the above

Correct Answer :   @@NESTLEVEL


Explanation : When @@NESTLEVEL is executed within a Transact-SQL string, the value returned is 1 + the current nesting level.

Advertisement