Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find duplicate records in a table
Message
From
17/12/2008 14:23:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
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:
01368248
Views:
10
>Is it possible to find only duplicate records using Stonefeild Query?

This can be done with a standard Visual FoxPro query; since I don't know Stonefield, you see whether you can adapt it.

In this example, KeyField should be unique, but you you suspect that it may, in fact, contain duplicates:
select KeyField, count(*) as HowMany;
  from MyTable;
  group by KeyField;
  having HowMany > 1
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform