Single commands are 'implied' transactions, that is the command executes completely, or nothing is done.
For multiple commands, where there is a need to make sure the several statements execute in a 'all or nothing' scenario, use TRANSACTIONS.
Refer to Books Online, Topic: Transactions
|||Other good topics in the BOL are "Isolation mode" and locking hints.
Jens K. Suessmeyer.
http://www.sqlserver2005.de
No comments:
Post a Comment