Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select question
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01306837
Message ID:
01306843
Views:
10
>>Or you can switch table 2 and 1 and use a left join. E.g. select
>>
>>nvl(myTable1.PK, myTable2.PK) as PK from myTable2 left join myTable1 ...
>>
>>You can also always use FULL OUTER JOIN.
>
>Thank you, again.

Actually, I didn't read your tables closely enough. In your particular case you MUST use FULL OUTER JOIN.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform