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
 Other Forums
 MS Access
 query to remove duplicate entries

Author  Topic 

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2006-03-16 : 06:15:15
is there any easy way to query my table and get rid of duplicate entries (where firstname and lastname are the same)

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-16 : 06:44:23
Runt this
Select * from yourTable where firstname=lastname

Do you want to delete those rows?

Madhivanan

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

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2006-03-16 : 08:11:16
i want to delete one of them but not both -- any way to do that with an sql statement
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-16 : 08:13:10
Refer this
http://sqlteam.com/forums/topic.asp?TOPIC_ID=6256

Madhivanan

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

- Advertisement -