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
 SQL Server Development (2000)
 To delete duplicate records in a table

Author  Topic 

Prajwal
Starting Member

6 Posts

Posted - 2005-07-11 : 23:03:58
Hi,

I am trying to delete duplicate records in my table(loaded twice by mistake)... Is there a simple way of doing it...

I have a duplicate record for each record(values in all the fields exactly the same)...

Thanks!!!

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2005-07-11 : 23:24:03
Truncate the table, and load it againg from the original source of data.



CODO ERGO SUM
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2005-07-11 : 23:27:42
http://www.sqlteam.com/item.asp?ItemID=3331

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-07-12 : 00:30:04
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
   

- Advertisement -