T-SQL tip: log error details in catch
If you want to log detailed information on an error in a catch block, you can use the following code: BEGIN CATCH declare @Message varchar(2048) = '<< Your custom error text here. >>' +…
If you want to log detailed information on an error in a catch block, you can use the following code: BEGIN CATCH declare @Message varchar(2048) = '<< Your custom error text here. >>' +…