Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Impact of using Numeric vs. Integer columns?
Message
De
08/09/2010 03:55:55
 
 
À
08/09/2010 01:03:50
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 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01480517
Message ID:
01480526
Vues:
85
>Are there any pros or cons to my "old way" vs. my new plan to just use Integer fields everywhere?

(Corresponding) Integer fields are always smaller and have not even a remote chance of introducing a rounding error...

>Also, I know that Sql Server has other Int options too, like "Small Int" and "Tiny Int". Seems tempting, but we don't have that in VFP, and I really want to do all my schema changes in VFP as much as I can before I push it over.

Temptation should involve gains - if data size is really important or you need to deploy to hundreds of small devices.
You can emulate smaller integer types with c(n) utilizing asc() and chr() in vfp as well or you can use money for 8-byte integers. But only if there is a headache stemming from problems, not for kicks <g>.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform