adspace
Write a query to delete duplicate records in SQL SERVER
Answer Posted / vijay
WITH INTER_TABLE(ROW, COL1) AS(
select row_number() over (partition by
COL1 order by COL1) as ROW ,COL1 from [TABLE_NAME]
)
Delete from INTER_TABLE where ROW > 1
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
Can we do dml on views?
What is the difference between for xml raw and for xml auto?
What is acid mean in sql server?
How can you append an identity column to a temporary table?
How do I start sql server 2017?
What is sql or structured query language?
What is a scheduled job or what is a scheduled task?
What is normalization and what are the advantages of it?
What is a view in sql?
what is the Ticketing tool used in Wipro technologies at Bangalore...???
What is the primary use of the model database?
How raid can influence database performance?
Can we shrink data file in sql server?
what is the difference between openrowset and openquery?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?