Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert null values to 0 & spaces in views
Message
From
18/08/2000 00:17:40
 
 
To
17/08/2000 23:57:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00406508
Message ID:
00406512
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform