Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NULL. Returned want Blank or 0
Message
De
23/08/2000 15:35:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
.NULL. Returned want Blank or 0
Divers
Thread ID:
00408441
Message ID:
00408441
Vues:
52
I am selecting two records from two tables the second table may not have the matching record yet. I get a ".NULL." back from the select.
Is there a way to get a 0 (zero) or a blank if there is no match from the LEFT OUTER JOIN? I know that I can ASCAN() the array I was wondering if I can do this in the SELECT???
SELECT Crafts.crafttitle, Craftpay.payrate;
 FROM  jobtrack!Crafts;
 LEFT OUTER JOIN jobtrack!CraftPay;
   ON  Crafts.craftid = Craftpay.craftid;
 INTO ARRAY laData 
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform