Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Erasing duplicates
Message
De
29/08/2001 13:24:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00550436
Message ID:
00550444
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Friends!
>
>How can I delete all duplicate records from a table?
>
>TIA

Depends on how do you define a duplicate. ie:If only all fields match considered as duplicate :
select * from myTable ;
union ;
select * from myTable ;
into cursor crsUnique nofilter

select myTable
zap
append from dbf('crsUnique')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform