Write a query to delete duplicate records in SQL SERVER
Answer Posted / dharmesh
your table look like this and want to delete duplicate
record
chandran 23
ranjith 24
chandran 23
delete top(1) from tablename where name='chandran' and
age=23
| Is This Answer Correct ? | 3 Yes | 28 No |
Post New Answer View All Answers
what is the difference between count(*) and count(1) ?
What are the different types of data sources in ssrs?
How do I view a script in sql server?
What is difference statement and preparedstatement?
How to get the definition of a view out of the sql server?
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
What is ems sql management studio? : sql server management studio
Do you know what are pages and extents? : SQL Server Architecture
What are a scheduled jobs or what is a scheduled tasks?
Explain how would you store your query in an SSRS report or a Database server?
How to find index size for each index on table?
Does partitioning improve performance sql server?
What are trace flags?
What is a field name?
What are sp_configure commands and set commands?