SQL ERROR SEVERITY

SQL ERROR SEVERITY is one of the SQL System Function used to return the severity of the error (if occurred). This ERROR SEVERITY function works within the scope of a CATCH block. If you call this function from outside the CATCH block, it will return NULL. For example, we write a series of statements inside the TRY … Read more