Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping Errors
Message
 
 
À
26/05/2005 21:20:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
01017984
Message ID:
01017999
Vues:
33
This message has been marked as the solution to the initial question of the thread.
Martin,

SQL Server has limited error handling capabilites. See @@ERROR in BOL. Although incoming SQL Server 2005 has TRY...CATCH structured error handling.

>
>Just wanted to know how I can trap errors in a stored procedure? Like if a value was entered more than once on a primary key field, how do I trap the error? To inform the application of the error I would just return an error number.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform