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
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...
PHP SESSION id IN QUERY STRING
asp.net + modal popup
What's the meaning of "meta:resourcekey="some_va
lue""?
EtherChannel on Cisco 2960 switch intermittent dropped packet
Cisco 870 Series, Site-to-Site VPN only allowing traffic one way.
How can I create a signature capture in iPhone SDK?
Sync Center and Moving Redirected Folder in SBS2008
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
Remote Web Workplace different website address