devxlogo

September 28, 2017

Using TRY and CATCH Blocks in T-SQL

You can handle errors in T-SQL almost the same way as in C# or Visual Basic. You can make use of a Try and catch block to trap errors and