transactions and stored procedures
From: toylet (toylet_at_mail.hongkong.com)
Date: 03/19/04
- Next message: toylet: "wait delay"
- Previous message: anonymous_at_discussions.microsoft.com: "Major Problem - Please Help!!!"
- Next in thread: Karl Gram: "Re: transactions and stored procedures"
- Reply: Karl Gram: "Re: transactions and stored procedures"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 20:37:22 +0800
can I do this while the connetion is alive?
begin transaction
execute sp_update_table_001
execute sp_update_table_002
commit/rollback
If the connection dies before the commit, will SQL server rollback the
transaction automatically?
-- .~. Might, Courage, Vision. In Linux We Trust. / v \ http://www.linux-sxs.org /( _ )\ Linux 2.4.22-xfs ^ ^ 8:34pm up 2 days 13 min load average: 1.33 1.07 1.02
- Next message: toylet: "wait delay"
- Previous message: anonymous_at_discussions.microsoft.com: "Major Problem - Please Help!!!"
- Next in thread: Karl Gram: "Re: transactions and stored procedures"
- Reply: Karl Gram: "Re: transactions and stored procedures"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|