Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'left outer join' vs. 'outer join'
Message
From
22/02/2001 08:44:27
 
 
To
21/02/2001 22:16:37
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00478274
Message ID:
00478356
Views:
23
Hi!

Looks really weird. Something like 'inner outer join' ;)))

>In a query, I mistakenly used the syntax:
>
>1) select * from table_a outer join table_b on table_a.key = table_b.key
>
>instead I meant to code:
>
>2) select * from table_a left outer join table_b on table_a.key = table_b.key
>
>or
>
>3) select * from table_a left join table_b on table_a.key = table_b.key
>
>#1 appears to behave 'almost' like a left outer join. The same number
>of rows are returned as #2 and three, and same data, except:
>where null values show up in #1 - repeating values from table b show up -
>i think the first row.
>
>Does this syntax have any intended use ? Or is it just a mistake - if it
>doesn't return anything meaningful, shouldn't the compiler complain and not
>compile it ?
>
>TIA
>
>
>
>
>or 'left join'
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform