会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
恭喜发财~
虚拟化、运维开发、自动化、数据库
博客园
新随笔
联系
管理
2019年10月30日
sqlserver 去除重复的行数据
摘要: 利用 distinct 关键字过滤重复的行,将查询的结果写入临时表 select distinct * into #temp from mytable 删除原表的数据 delete mytable将临时表插入到表中 insert mytable select * from #temp释放临时表 dr
阅读全文
posted @ 2019-10-30 16:00 笑傲运维
阅读(1290)
评论(0)
推荐(0)
编辑
公告