In SQL Server, exceptions (also known as errors) can occur during the execution of SQL statements. To handle these exceptions, you can use the TRY...CATCH block. Here's how you can use this construct ...
Ela tem duas funções quando executada. - Primeira e gerar um mensagem de aviso, devolvendo para o cliente a mensagem. - Somente mensagem com severidade até 10 geram mensagem de avisos.