Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL join with empty data in one table
Message
De
14/07/2000 16:48:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00392660
Message ID:
00392682
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform