Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 duplicates

Author  Topic 

rajani
Constraint Violating Yak Guru

367 Posts

Posted - 2005-05-15 : 18:31:51
hi friends
am wondering what is easiest way to delete duplicate records.
i have 3 fields (type,number,provider) which have duplicates and i want to keep one of them delete the rest.
Thanks.

Cheers

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2005-05-15 : 21:12:02
http://www.sqlteam.com/item.asp?ItemID=3331

That article should solve all the world's issues.

Well...at least it will solve yours.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-05-16 : 01:44:23
In addition to that refer this also
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=6256

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

rajani
Constraint Violating Yak Guru

367 Posts

Posted - 2005-05-16 : 16:53:09
Thank you very much Derrick and Madhivanan

Cheers
Go to Top of Page
   

- Advertisement -