Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find duplicate records in a table
Message
 
 
To
17/12/2008 12:24:05
General information
Forum:
Visual FoxPro
Category:
Stonefield
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01368200
Message ID:
01368250
Views:
15
>Is it possible to find only duplicate records using Stonefeild Query?

I think you may need to use Advanced step to create your query, which is simple in itself.

select myTable.* from myTable inner join (select Dupfield, count(*) as Dups from myTable group by myDupFields having Dups>1) Dups on myTable.DupField = Dups.DupField
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform