Answers for "sql server delete double rows"

SQL
2

delete dublicate rows sql

WITH CTE AS(
   SELECT [col1], [col2], [col3], [col4], [col5], [col6], [col7],
       RN = ROW_NUMBER()OVER(PARTITION BY col1 ORDER BY col1)
   FROM dbo.Table1
)
DELETE FROM CTE WHERE RN > 1
Posted by: Guest on June-11-2021

Code answers related to "sql server delete double rows"

Code answers related to "SQL"

Browse Popular Code Answers by Language