Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Raise an exception from within a SP
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01076224
Message ID:
01076332
Views:
26
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform