标签:span money div from -- position container ext rom
-事物管理
create table account(
id number,
money number
);
--实现转账操作
update account set money = money - 100 where id = 2;
update account set money = money + 100 where id = 1;
--事务提交
commit;
--事务回滚
rollback;
|
标签:span money div from -- position container ext rom
原文地址:http://www.cnblogs.com/haozhengfei/p/6538351.html