SQL Server – Raiserror Syntax

[code:tsql]

— RAISERROR with severity 11-19 will cause execution to 
— jump to the CATCH block.

RAISERROR (‘Error raised in TRY block.’, — Message text.

               16, — Severity.

               1 — State.

               );

[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *