Delete duplicate records from the table?(Table must have
unique id)

Answer Posted / naren

delete id from table where id in(select id from table having count(id)>1)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rtm version in sql server?

519


What are number line correlation administrators will use while working with a subquery?

618


optimization techinques

2187


What is the sql profiler?

535


What do you understand by hotfixes and patches in sql server?

507






Explain why variables called the most powerful component of ssis?

522


Explain difference between control flow and data flow?

522


What do you know about normalization and de- normalization?

463


How to get a list all databases on the sql server?

572


you have separate development and production systems you want to move a copy of a development database into production to do this, you do a backup on the development system and restore to the production system after a few minutes, you begin getting calls from several customers saying that they are denied access to the system why? : Sql server administration

546


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

550


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1505


How to apply cascading referential integrity in place of triggers?

562


How to defragment indexes with alter index ... Reorganize?

577


Why it is recommended to avoid referencing a floating point column in the where clause?

532