日期:2014-05-16 浏览次数:20667 次
http://bbs.csdn.net/topics/390742770
;with cte as (select *,row_number()over(partition by 你要设为主键的哪个列 order by 你要设为主键的哪个列) oid from tb) delete from cte where oid>1