Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing double records, math problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01233421
Message ID:
01233625
Vues:
9
>Edward,
>
>I think the problem is that you might run out of records to delete from the latter tables, maybe the process should start with the tables ordered by the number of records to delete to minimize this.
>
>Ex. (r records and d records to delete)
>
>T1: 500r 30d
>T2: 100r 10d
>T3: 111r 3d && You might already run out of duplicates to delete from this table

Btw, you cannot run out of deletions completely, because the process starts with calculating how many records should be deleted in all tables together. So it might happen that the last table will get too many deletions, but never too less.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform