The below will list out duplicate occurances for youSELECT Col1,Col2,Col3,Col4FROM(SELECT ROW_NUMBER() OVER (PARTITION BY Col1,Col2,Col3,Col4 ORDER BY Col1) AS RN,*FROM Table)tWHERE RN >1
Once you're happy that it gives you desired records turn it into a delete to remove them from your table as belowDELETE tFROM(SELECT ROW_NUMBER() OVER (PARTITION BY Col1,Col2,Col3,Col4 ORDER BY Col1) AS RNFROM Table)tWHERE RN >1
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs