摘要: 利用 distinct 关键字过滤重复的行,将查询的结果写入临时表 select distinct * into #temp from mytable 删除原表的数据 delete mytable将临时表插入到表中 insert mytable select * from #temp释放临时表 dr 阅读全文
posted @ 2019-10-30 16:00 笑傲运维 阅读(1290) 评论(0) 推荐(0) 编辑