Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is faster: insert from memvar or insert fields?
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
Database:
Visual FoxPro
Divers
Thread ID:
01139366
Message ID:
01139523
Vues:
17
>>>What do you think about age? Is there a simpler way to find person's age in years?
>>
>>(val(dtoc(date(),1)) - val(dtoc(m.bDate),1))/10000
>>
>>could be used for years.
>>Cetin
>
>How accurate it is? Can I rely on it?

How accurate is your upper limit of 120 years? :)
I think even following will be accurate enough
(YEAR(DATE()) - YEAR(m.bDate)) < 120
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform