1. There are three types of errors that can occur in programs: compilation errors, logical errors, and runtime errors. Runtime errors are called exceptions.
2. In older versions of SQL Server, the @@ERROR predefined variable was used to handle exceptions. In newer versions, a TRY-CATCH block is used instead.
3. The TRY block contains statements that may cause runtime errors. If an error occurs, control passes to the CATCH block, which can rectify or manage the error.