how to delete duplicate rows from table in sql server
Answers were Sorted based on User's Feedback
Answer / suresh s
delete tblname where columname in (select columnname
FROM tblname GROUP BY columnname having count(columnname)
>=2)
Is This Answer Correct ? | 25 Yes | 30 No |
Answer / swapna
We can delete duplicate rows from table by using distinct
command.
Is This Answer Correct ? | 10 Yes | 35 No |
What is a hint?
what stored procedure would you use to view lock information? : Sql server administration
What is store procedure? When do you use?
Where do you think the users names and passwords will be stored in sql server?
How can we delete a table in sql server?
What do you mean by a Composite primary key?
Tell me what is the stuff and how does it differ from the replace function?
write coding for importing sql data into a word excel...
Do you know what is similarity and difference between truncate and delete in sql?
How will you know when statistics on a table are obsolete?
Explain few examples of stored procedure over triggers?
How to disable triggers using "disable trigger"?