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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 SQL Query

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-12-05 : 08:16:36
varun writes "If I have entered a single row twice in the table, how shall i find which row i have entered twice??????????"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-05 : 08:24:12

Select col1,col2,col3 from yourTable group by col1,col2,col3 having count(*)>1


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -