Microsoft
Software
Hardware
Network
Question : Check for Duplicates
I have two columns in my Table - Col1 Col2
Col1 and Col2 contain values that should be unique to the table - so no two rows alike - how can I check for this against both columns?
Answer : Check for Duplicates
Hi,
If your table do not have an index, you can use HAVING to do that, like this
select Col1, Col2, Count(1) from YOURTABLE
Group By Col1, Col2
Having Count(1) > 1
This will show you the duplicates.
Hope it helps
Random Solutions
ghost 14 in windows xp is requiring me to run in windows recovery enviroment
Configuring QoS on Linksys Cisco IP VOIP phone system through residential ADSL2
Prevent users from sending emails to all users group lotus notes
How to connect treeview & listview or grid through Access database
Google apps Cname
Installing Small Business Server 2008 trail
Is it possible to exclude certain project folders like Images during Publish?
Application user
XP Mode - usb software key not working
looking for best web designer.