Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete duplicate Record
Message
De
24/03/2003 06:41:03
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
24/03/2003 03:08:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00769146
Message ID:
00769160
Vues:
23
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform