how to delete duplicate rows from table in sql server
Answer Posted / 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 |
Post New Answer View All Answers
Explain the steps to create and execute a user-defined function in the sql server?
How to replace the Query Result 'Null Value' with a text ?
What factors you will consider calculating the storage requirement for that view?
What is a deadlock and what is a live lock?
Differentiate between SQL and ORACLE joins and write their syntax.
How to provide login information for a new odbc dsn?
What are the Advantages of using CTE in sql server?
Explain what are commit and rollback in sql?
Define right outer join?
What is the need for indexing?
How fixed length strings are truncated and padded?
Do you know the cursor optimization tips?
How many servers can we create in a single subscription?
What do you mean by recursive stored procedure?
How to create a user to access a database in ms sql server using "create user" statements?