Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Under the gun on a deadline - SQL numeric format problem
Message
De
25/05/2006 16:12:41
 
 
À
25/05/2006 15:16:43
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01125006
Message ID:
01125042
Vues:
19
>This field is part of an SQL that will be saved via SDF to a text file. The problem I'm having is that it is always 16 in length, regardless of what I do to it in the SQL. It must be 12 in length and 2 decimal places. Any help greatly appreciated. Thanks!
>
>
>SUM(VAL(STR(new.ee_bal,12,2))) AS ee_bal,;
>
How about
SELECT ....,SUM(new.ee_bal) AS ee_bal.......
INTO CURSOR myCursor READWRITE

ALTER TABLE myCursor ALTER ee_bal n(12,2)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform