Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql to find duplicates
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00811118
Message ID:
00811122
Views:
17
>Hi,
>Can someone help me with the SQL to find all duplicates in a field?
>Thanks,
>Allen
select KeyFld, count(*) as CntDups from TestDups group by 1 ;
     having CntDups > 1 ;
     into cursor curDupes
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform