T-SQL: Try … Catch

Captura e Tratamento de Erros

BEGIN TRY
    <SQL code>;
END TRY
BEGIN CATCH
    <error handling code>;
END CATCH;

Last updated