会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
arvid
为了可以偷懒而努力去思考再思考,努力把每一个模块封装好,可以让其在更多的地方复用,再复用,让我可以有更多时间去偷懒。
博客园
首页
新随笔
联系
管理
订阅
2009年11月13日
SQL Server中删除重复数据的几个方法
摘要: 数据库的使用过程中由于程序方面的问题有时候会碰到重复数据,重复数据导致了数据库部分设置不能正确设置…… 方法一declare @max integer,@id integerdeclare cur_rows cursor local for select 主字段,count(*) from 表名 group by 主字段 having count(*) > 1op...
阅读全文
posted @ 2009-11-13 11:41 努力偷懒
阅读(352)
评论(0)
推荐(0)
编辑
公告