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


Please Help Members By Posting Answers For Below Questions

What are Spatial data types in SQL Server 2008

556


What are subquery and its properties?

578


What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration

630


How can delete duplicate records in cte in sql server?

520


What is the stored procedure?

564






What is sub-query in sql server?

673


Where are sql server usernames and passwords stored in the sql server?

613


In what three ways is the return statement used in a stored procedure?

515


Explain syntax for disabling triggers?

526


What are types of storage modes? : sql server analysis services, ssas

582


If user is owning any SQL Objects, can we drop that user

1607


What are the security related catalog views? : sql server security

537


What is a mutating table error and how can you get around it?

537


Is it possible to update the views? If yes, how, if not, why?

545


Tell me what is de-normalization and what are some of the examples of it?

570