Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try/Catch syntax with the exact error
Message
De
05/03/2008 10:00:58
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01298895
Message ID:
01298902
Vues:
10
>It's covered in BOL. Excerpt:
>
>ERROR_NUMBER() returns the number of the error.
>ERROR_SEVERITY() returns the severity.
>ERROR_STATE() returns the error state number.
>ERROR_PROCEDURE() returns the name of the stored procedure or trigger where the error occurred.
>ERROR_LINE() returns the line number inside the routine that caused the error.
>ERROR_MESSAGE() returns the complete text of the error message. The text includes the values supplied for any substitutable parameters, such as lengths, object names, or times.

Thanks, this works.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform