Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding NULL with SUM
Message
 
 
À
14/01/2005 13:03:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00977283
Message ID:
00977288
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
>With VFP 9, if you SUM a column and the where clause doesn't return any data, you end up with NULL. How can I obtain 0?

Try
NVL(SUM(...), 0))
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform