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)
 Remove first from doubles

Author  Topic 

henrikop
Constraint Violating Yak Guru

280 Posts

Posted - 2001-11-26 : 06:45:48
This is probably asked more than once, but I can't find it.

I have a field in a Table with doubles so I cannot make this field the primary key.
How can I state my SQL so it removes one of the two (or more) records. Records with double ID's are always the same, so it doens't matter which record I remove.

Thx a thousand times!!

Henri




Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2001-11-26 : 07:16:39
quote:

This is probably asked more than once, but I can't find it.



This one is actually in the FAQ http://www.sqlteam.com/FAQ.asp



Damian
Go to Top of Page
   

- Advertisement -