write a query to remove duplicate records without using primary key column?
Answers were Sorted based on User's Feedback
Answer / mathanrathinam
delete tmp from(select col1,col2,row_number over(partition by col1,col2 order by col1,col2) rownum from tablename) tmp
where rownum >1
| Is This Answer Correct ? | 7 Yes | 8 No |
what is denormalization? : Sql server database administration
How global temporary tables are represented and its scope?
What are out-of-range errors with date and time literals?
Why do we use trigger?
What is a rollup clause?
Mention the different types of replication in sql server.
What are orphan records?
What are acid properties of transaction?
How to install sql server 2005 express edition?
Is sql server implemented as a service or an application? : Sql server database administration
How will you collect the date from current date to last older 6 days date in sql server 2005
What is table value parameters (tvp)?
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)