You are here: Identifying Duplicates in a table « MsSQL Server « IT news, forums, messages
Identifying Duplicates in a table

Posted by chudson007 on 03/11/06 13:31

I need help flagging duplicate records in ome tables I have.

For example if I have Table1 which conatins Field1, Field2 and Field3
like below

Field1 Field2 Field3 Field4
Paul 18 Null Null
Paul 18 Null Null
John 19 Null Null

How would I;
1. put a 'Y' in Field3 to mark the two records which are duplicates.
2. put a 'Y' in Field4 to mark ONLY ONE of the duplicate records.

Regards,

Ciarán

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация