1.清空表
.....
|
1
|
truncate table t_application_property; |
2.重置id值
|
1
|
update t_application_property t set t.id=t.id-66 where t.id between 87 and 105; |
3.数据的创建和删除
|
1
2
|
drop database if exists abc;create database abc; |
转载请注明:谷谷点程序 » [MYSQL]不常用的脚本语句