Message
From
12/03/2010 17:18:21
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Find rows with duplicate entries
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01454248
Message ID:
01454248
Views:
72
I am sure this question has been asked million times but here is a million one:

What SQL Select to use to find all records with duplicate entries? I am trying to add a UNIQUE constraint to a table but get error that duplicate rows exist.

TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View