how to delete duplicate rows in sql server2005
Answer Posted / nittu
Delete from Tbl where Id NOT IN(
select Min(Id)
from tbl
Group By Colmn1,Column2)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is DCL?
What are the various editions of sql server 2017 that are available in the market?
Hi, I Created 3 Tables Person(PersID[prkey],Name,Email,Password), Project(ProjName,ProjID[prkey],ProjLeader,ProjManager) & ProjectInvolvement(EntryDate,ProjID[frkey],PersID[frkey],ProjDuration). For this how can i INSERT,UPDATE & DELETE Through PROCEDURE? Please Post the Answer for me. Desai.
Define cursor locking
How many types of stored procedures are there in sql server?
Explain the various types of concurrency problem?
What is subquery? Explain the properties of a subquery?
what are defaults? : Sql server database administration
What is cursors?
Explain the dbcc pintable command when would you use it?
How to set the current database in ms sql server?
How do you create a clustered index?
In which format does an image save in SQL Server database ?
Explain view in sql server?
Explain system functions or built-in functions? What are different types of system functions?