Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete duplicate Record
Message
From
24/03/2003 06:41:03
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
24/03/2003 03:08:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00769146
Message ID:
00769160
Views:
24
Let you have some filed key-k_id, which by choise get duplicate values
select count(*) as cntt ,k_id group by k_id into cursor tmp
delete from tblname where k_id in ( select k_id from tmp where cntt>1)
It really can be one clause using having count()>1
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform