摘要: 第一种方法: delete from 表名 (where 条件); 第二种方法: truncate table 表名; 两种方式的比较: 1、delete语句可以带where条件,如果不带默认全部删除,truncate table不能带条件,默认清空整张表的数据 2、效率上truncate要比del 阅读全文
posted @ 2020-04-30 10:58 徐元 阅读(1037) 评论(0) 推荐(0)
办公相关工具推荐
图片文字识别 |