sql删除重复行的存储过程怎么写
我这边有很多的重复数据 ,我想用存储过程删除重复的数据 ,求各位帮帮忙
[解决办法]
delete from 表 where 列 in(select 列 from 表 group by 列 having count(列)>1)
[解决办法]
你难道不能在入库之前就清理掉吗
[解决办法]
恭喜解决,如有时间,还可以参考:
http://www.cnblogs.com/insus/archive/2010/07/28/1786580.html