write a query to remove duplicate records without using primary key column?
Answer Posted / 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 |
Post New Answer View All Answers
Explain error and transaction handling in sql server?
Explain error handling in ssis?
Mention the differences between local and global temporary tables.
If the job running very slow what is the action you do
What is sql sandbox in sql server?
Explain the third normal form(3nf)?
What is an etl file?
Can you create a logon trigger in sql server 2005 express edition?
What is query processing?
Can you index views?
What happens if null values are involved in boolean operations?
How to delete duplicate records based on single column from a table?
Explain what stored procedure sp_replcounters is used for? : sql server replication
What is normalization of database? What are its benefits?
What is sharding?