Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing double records, math problem
Message
De
15/06/2007 11:02:11
 
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:
01233495
Vues:
8
Doing a SELECT-distinct with a UNION or an INDEX Unique on APPENDed tables is simple enough....

.... BUT ....

The removed duplicates should be evenly distributed amongst the 4 origins! So that makes it a lot more complex...

I am not looking for the VFP-commands that do the removing of the duplicates, but for the algorithm that does it the way I need to...

>>Edward also made it clear to me that I am didn't describe that aspect clear enough. Rreading my text, I understand that.
>>
>>The resulting table should be a concatenation of the 4 tables, with all duplicates removed, but that should happen in an evenly distributed way, like the numerical examples displayed.
>
>Where I am confused about is that if these duplicate records are in fact duplicates how does the final table have any idea where the unique records came from? IOW, why not just do a union of the four tables that is distinct?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform