Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding LEFT JOIN
Message
De
23/08/2005 09:58:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01042886
Message ID:
01042895
Vues:
33
This message has been marked as a message which has helped to the initial question of the thread.
>Terrific! So, we just need to add OR IsNull(ccategory_description) part.
>
>Haven't thought about it.
>
>Thanks again for your sharp brain < g >
>
SELECT Billing_charges.*, Viscodes.ccode_description;
 FROM ;
     Billing_charges ;
    LEFT OUTER JOIN VisCodes ;
   ON  Viscodes.ccode_value LIKE ( Billing_charges.crevenue_code+"%" );
  AND Viscodes.ccategory_description LIKE ( "REVENUE_CODES%" )
 WHERE  Billing_charges.cbilling_main_fk = ( ?vp_cBilling_main_fk )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform