show engines //查看mysql锁支持的数据引擎
mysql使用事务的关键字 begin //打开一个事务 commit //提交到数据库 rollback //取消操作 savepoint //保存,部分取消,部分提交 alter table person type=INNODB //修改数据引擎
begin update person set name='efgh' where id =10 select * from person rollback select * from person
alter table person type=INNODB begin update person set name='efgh' where id =10 select * from person commit select * from person begin delete from person where id=21 update person set name='efgh' where id =10 commit/rollback
begin; update score set score=40 where scoreid=1; savepoint s1; update score set score=50 where scoreid=2; select * from score; rollback to savepoint s1; select * from score; commit;
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有