Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert null values to 0 & spaces in views
Message
De
18/08/2000 00:17:40
 
 
À
17/08/2000 23:57:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00406508
Message ID:
00406512
Vues:
20
>If there are no child records in C all the fields are show NULL.
>If I use this view in report all the total fields fail asn .NULL. any thing is .NULL.
>
>Rajesh

Try NVL() e.g.
SELECT a.field, NVL(b.character_field,""), NVL(b.numeric_field,0) ;
  FROM a LEFT JOIN b ON a.id = b.id...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform