Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL join with empty data in one table
Message
From
14/07/2000 16:48:03
 
 
To
14/07/2000 16:37:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392660
Message ID:
00392682
Views:
8
SELECT co.custid, co.name, iif(isNull(sa.price),"",sa.price), ...

or something like this is what I use to turn NULL values into an empty string. You could use ... ,0,sa.price) ... if you want the number zero to be returned in place of a NULL value.

It sounds like you are wanting to return all records in your customer table, so you don't need a WHERE clause.

Is this what you are looking for?
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform