Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL column too narrow
Message
 
À
09/07/2012 12:45:09
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 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01547895
Message ID:
01547898
Vues:
50
>Hi. One of my sql result columns is only 1 character wide (numeric). I am thinking that it is because the first group value (for this field--a calculated one) is 0. How would I force the width of this field. Keep in mind that I am in Fox 7.
>
>Thanks, Randy


Something like that:
SELECT 000000000.00 AS Fld
will give you N(12,2) as result.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform