Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checksum for a whole record
Message
De
08/03/2003 15:46:26
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00763322
Message ID:
00763345
Vues:
18
Hi Alex,

No matter what checksum routine you use, you won't get a guaranteed unique value for each different record - that's not the purpose of a checksum.

Liam




>Hi everybody,
>
>Wondering if anyone has a function to create a checksum for a WHOLE record in a table.
>
>For example, I have a table that has 128 fields and need a quick way to find duplicate records. I thought about doing a sys(2007) of a couple of fields, but not only I am getting unreliable results (several records that are different are yielding the same checksum) but I now need to compare ALL fields in order to determine uniqueness.
>
>If anyone can share some code or if there's anything already built into vfp, I'd appreciate a pointer...
>
>Thanks a lot!
>
>Alex
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform