Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Raise an exception from within a SP
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01076224
Message ID:
01076332
Vues:
27
>>>You can also check @@error.
>>
>>Thanks for the idea. I would assume that it is a good practice to check @@ERROR before doing a COMMIT TRANSACTION also. What do you think?
>
>You've to check it after each statement because it gets reset the same way as @@ROWCOUNT

Thanks for the heads-up.

Einar
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform