`
shoppingbill
  • 浏览: 58320 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

删除数据库中重复的记录

    博客分类:
  • DB
阅读更多
删除数据库中重复的记录: 查出不重复的记录插到temp 表中. select distinct * into #temp from tableName 删除数据库中所有的记录 delete from tableName 查询所有的记录再插到tableName表中 select * into #tableName from temp
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics