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)
 wanna delete duplicate records

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-08 : 08:43:06
sdNazim writes "Hi Graz,

i have got a table with duplicate records fortnately therez a primary key differentiating them. otherwise the rest of the records is same. i want to delete the records keeping only 1 copy of it in my table.

eg.

Trnno name
1 abc
2 abc
3 abc
is there any way , wherein i can delete the rest of the recods
saving 1 copy of it (let it be any with trnn 1 , 2 or 3)

Thanx"
   

- Advertisement -