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
Outlook 2007 w/ Exchange 2010 empty folder
Windows 7 NAT
difference between AD integrated dns server and dns server
windows 7 dual monitor not working
Removing Rootkit.Agent on Windows XP SP3 ComboFix log attached
.NET FTP Control
Install IIS with a vbs script.If supporting files needed pick from a predefined path.
Trouble with Menu Drop Down Form
Apache webserver Linux and Gzip
Multilingual Issue in dotnet