Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return integer from NVL()
Message
 
 
À
17/06/2004 17:23:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914820
Message ID:
00914835
Vues:
12
In VFP9
NVL(myfield, CAST(0 AS int))
* or
CAST(NVL(myfield, 0) AS int)
In VFP8 and earlier it isn't possible but you can create numeric field with enough size by specifying according number of zeros.
NVL(myfield, 0000000)
>How do you get NVL() to return an integer if value is null?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform