Try Catch and Throw an email

Y

Y_Architect

Guest
I want to use Try Catch in my code, and in the result it should send an email with the "Error details - Login ID, Time Stamp, Error Severity etc' to the admin. What would be the code. The email should be sent only on the latest error it records.

This is for SQL Server.

Continue reading...
 
Top