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 RAID? What are the different types of RAID configurations?
How can you start sql server in different modes?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
We need to perform what steps in the following order to work with a cursor?
What is cte (common table expression)?
sql server syntax to add "!" sign to "name" field of "employee" table in a manner that all names have the same lenght of 20 characters
What is a primary key?
how do we insert 100 records at a time in a table without using for loop in database
What are pessimistic lock and optimistic lock?
Define self join in sql server joins?
Detail about the hardware which is supported by SQL server?
What is dbcc?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)