mysql数据库(五)事务,PowerDesigner 建模工具
一. 事务定义和基础1. 事务:事务是一条 或 多条sql语句, 这些sql要么都执行要么都不执行 例:转账: 张三 给 李四 转账 1000元,这时数据库应该的操作? update account set balance = balance - 1000 where name = '张三'; update account set balance = balance + 1000 ...
原创
2021-10-02 21:49:15 ·
289 阅读 ·
0 评论