Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check two files for record duplication
Message
De
21/06/2010 12:09:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01469886
Message ID:
01469931
Vues:
45
>>>>>Perhaps with the selfsame command, but adding an index on the key expression - an index on dtos(dTraBan) + cRefBan..., especially in the historical file.
>>>>
>>>>Thanks Hilmar. Tried and didn't seem to help much.
>>>>
>>>>Alex
>>>
>>>Other options include an outer join, and doing a SET RELATION to the history table (copy those that have something like eof("HistoryTable")). I am not sure whether any of these options would be faster.
>>
>>Hilmar and Naomi,
>>
>>I am going to add a column with a hash of the others and compare the hashes. Looking for hash function...
>>
>>Alex
>
>May be you can use CHECKSUM() function? Have you tried my other suggestion, BTW?

I tried your other suggestion, including making fields all caps, but didn't work.

Creating an extra field filled with SYS(2017) and then comparing that field seems to work. I am double checking. Will let you know results.

Thanks Naomi and Hilmar,

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform