Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird result. I can't get what I want from my select
Message
 
 
À
05/06/2008 17:37:52
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 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01321989
Message ID:
01322011
Vues:
12
>>>I do a select sql based on a condition for a certain field and it works ok
>>>
>>>I do a big select with many joins and at the end of that select I add where. That where is based on the first condition that worked (when used alone) and nothing comes out of that query.
>>>
>>>Anyone could help me on that?
>>
>>Are you using INNER JOINs? You probably need LEFT OUTER JOINs.
>
>I will look at that. Thx

Don't place conditions on second tables (from the right part) in the WHERE condition because it would make the LEFT JOIN become INNER JOIN.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform