SQL ERROR NUMBER

Every error recognizes with a specific number. This Error Number function will help us to fetch that error number when the SQL server identifies errors during the query execution. This Error Number function works within the scope of a TRY CATCH block. For example, we write a series of statements inside the TRY block. And … Read more