General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Thanks Sergey and Boris
>Make sure that SET XACT_ABORT is ON
>
>>
>>I'm creating some stored procedures which are inserting a set of records into various tables in my database.
>>
>>I want to wrap each set of inserts in a transaction so only a complete set get added.
>>
>>How do I make sure that any errors are picked up and stop the transaction being committed.
>>
>>Thanks
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only