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 |
|
mavericky
Posting Yak Master
117 Posts |
Posted - 2011-09-27 : 18:15:19
|
| Hi,I have a temporary table consisting of duplicate records. How can I write a query to display only duplicate records?Thanks,Mavericky |
|
|
Random
Starting Member
3 Posts |
Posted - 2011-09-27 : 21:43:36
|
| SELECT * FROM temporary_table WHERE column1 = column2 AND column2 = column3... |
 |
|
|
vmvadivel
Yak Posting Veteran
69 Posts |
Posted - 2011-09-27 : 22:14:04
|
| There are various ways and it depends on your table structure as well. Check this out http://support.microsoft.com/kb/139444Best RegardsVadivelhttp://vadivel.blogspot.com |
 |
|
|
mavericky
Posting Yak Master
117 Posts |
Posted - 2011-09-27 : 22:42:51
|
| Thanks a lot for the replies!! It was helpful!! |
 |
|
|
|
|
|