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 |
|
Fazle Rabbee
Starting Member
1 Post |
Posted - 2008-05-08 : 03:51:22
|
| Hi. I am Rabbee from Bangladesh who has join recently with the team. I need a Solution. How can I find out Duplicate data in sql server 200 database by generating a query. Thank you.fazle rabbee |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-05-08 : 03:52:10
|
SELECT Col1FROM Table1GROUP BY Col1HAVING COUNT(*) > 1 E 12°55'05.25"N 56°04'39.16" |
 |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-05-08 : 03:53:05
|
| Run a select count by the distinct columns, any with a count > 1 are duplicates.Too quick for me.. lol |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-05-08 : 03:59:45
|
Hmmm... I wonder what m_k_s thinks about that?Two replies within 2 minutes. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-05-08 : 04:10:28
|
| He would moan as they do not waffle enough. |
 |
|
|
|
|
|