MYSQL数据进行并发锁定
类别: 数据库教程
mysql> LOCK TABLES real_table WRITE, insert_table WRITE;
mysql> insert into real_table select * from insert_table;
mysql> delete from insert_table;
mysql> UNLOCK TABLES;
mysql> insert into real_table select * from insert_table;
mysql> delete from insert_table;
mysql> UNLOCK TABLES;
- 上一篇: SQL SERVER数据库安全规划全攻略
- 下一篇: MYSQL的DAEMON启动参数
-= 资 源 教 程 =-
文 章 搜 索