Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for a better way
Message
De
18/12/1999 20:27:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00305584
Message ID:
00305760
Vues:
22
>>If these are the only codes you have, you can write a small CarCodeToCarName function and call it in your SQL statement:
>
>Vlad,
>
>That approach will blow upi if the data is ever moved to a storage system other than VFP. Making a validation table for the codes and using a join to it will translate to any relational databse system.

This is only one of the reasons I said that having that validation table is a better solution! :)

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform