删除数据库中重复数据的几个方法
摘要:
数据库的使用过程中由于程序方面的问题有时候会碰到重复数据,重复数据导致了数据库部分设置不能正确设置…… 方法一 declare @max integer,@id integer declare cur_rows cursor local for select 主字段,count(*) from 表名 group by 主字段 having count(*) > 1 open cur_rows f... 阅读全文
posted @ 2009-01-03 20:00 闫振创 阅读(445) 评论(0) 推荐(0) 编辑