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.
| Author |
Topic |
|
qman
Constraint Violating Yak Guru
442 Posts |
Posted - 2007-10-26 : 10:14:21
|
| I want to compare a column within our COMPANY table to see if a duplicate value exists. I assume I should use a self join? The column I want to check for duplicates is MCIC. Thanks |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-10-26 : 10:18:29
|
| Select MCIC from COMPANY group by MCIC having count(*)>1MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|