#2
dingpin2008-08-27 22:38
|
例如下:
create procedure trade()
begin
update account set balance = balance - 100 where uid = 1;
update account set balance = balance + 100 where uid = 2;
end//
怎么样用事务保证俩SQL语句都执行呢?
期待,高手解决......