Table of Contents
SQL Server Error : 125 Details
SQL Server Error: 125
Severity: 15
Event Logged or not: No
Description:
Case expressions may only be nested to level %d.
Severity 15 Description:
Indicates syntax errors in the Transact-SQL command.
Reading sql server error log location from SQL Query
Identifying SQL Server Error Log File used by SQL Server Database Engine can be done by reading SQL Server Error Logs. DBA can execute the XP_READERRORLOG extended stored procedure to read the SQL Server Error Log and search for its location used by the instance of SQL Server.
USE master
Go
xp_readerrorlog 0, 1, N'Logging SQL Server messages in file', NULL, NULL, N'asc'
Go
7. Sort order for search results:- N’asc’ = ascending, N’desc’ = descending
Solution for Resolving the Error
SQL Server Error Code and solution summary
SQL Server Error: 125
Severity: 15
Event Logged or not: No
Description:
Case expressions may only be nested to level %d.