2017年11月22日
摘要: 删除数据库表中数据有两种方式: 第一种:delete from tablename where 1=1; 第二种:truncate table tablename; 区别是:第二种清空表数据比较及时,能够很快地释放数据库表空间,而且不记录删除操作,自增字段还是从表建立的时候设置的初始值开始, 注意: 阅读全文
posted @ 2017-11-22 11:36 朱古力88 阅读(11921) 评论(0) 推荐(0)