Where is error line in SSMS?
Using ERROR_LINE in a CATCH block with a stored procedure. This example shows a stored procedure that generates a divide-by-zero error. ERROR_LINE returns the line number where the error occurred. How do I find the line of error in SQL Server? Using ERROR_LINE in a CATCH block with a stored procedure. This example shows a stored procedure that generates a …