Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL doesn't format the way I want
Message
 
 
À
13/03/2001 16:36:25
Cindy Winegarden
Duke University Medical Center
Durham, 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:
00484563
Message ID:
00484719
Vues:
11
>>>>>The result of Query should have Year (N 2) field - 2 last digits and Period (N 2)
>>>>>I tried select val(right(cYear,2)) as Year, val(Period) as Period ..., but it formats the result to be N 2.2 Is it possible to change without messing around with set decimals?
>>>>>
>
>Nadya,
>
>SELECT Whatever + 0000000000 ... will give N(10)

Right, but if you want to convert char to numeric in Query, it would not help.

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform