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)
 distincted record

Author  Topic 

aout
Starting Member

1 Post

Posted - 2004-04-04 : 23:55:04
Hi,

How do you eliminate duplicated key records when it's being displayed?
Thanks

nr
SQLTeam MVY

12543 Posts

Posted - 2004-04-05 : 00:00:33
What do you mean?

If it's a key (i.e. supported by a unique index) then it can't be duplicate.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2004-04-05 : 00:00:45
SELECT DISTINCT

MeanOldDBA
derrickleggett@hotmail.com

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

- Advertisement -