Re: Continue with the original idea, about JOINS....

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Continue with the original idea, about JOINS....
Дата
Msg-id 20040625151400.L41286@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Continue with the original idea, about JOINS....  ("Jhonatas M. Rodríguez" <jhonatas_rod@yahoo.com>)
Список pgsql-admin
On Fri, 25 Jun 2004, [iso-8859-1] Jhonatas M. Rodr�guez wrote:

>    Hey, i have a question about of the uses the joins
> in PostgreSQL.
>
> In SQL Server the joins i can use with the simbol(*),
> Example:. the right join is
> "table1.field1 =* table2.field2"
>
> In Oracle the joins are with the simbol (+),
> Example:. the left join is
> "table1.field1 (+)= table2.field2"
>
> What is the simbol the PostgreSQL in the use the
> JOINS?....
>
> I want to continue with the original idea, how i do a
> join without
> (table1 LEFT JOIN table2 ON (table1.field1 =
> table2.field2)
> table2 RIGHT OUTER JOIN table1 ON (table2.field2 =
> table1.field1))
>
> else with a simbol (as (*,+, anything)).

You don't do outer joins in PostgreSQL with a symbol.  We only
support the standard mandated way of doing the joins. Syntaxes
like the Oracle and SQL Server one above are at best imprecise
and at worst entirely broken(*) so I doubt that we're going to
support one in the future.

(*) - The symbol using syntaxes above are ripe for possible problems
where you have conflicting conditions which you either need to diagnose
or come up with semantics for. Also, since join ordering is potentially
significant to outer join behavior, syntax that hides that is dangerous.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Continue with the original idea, about JOINS....
Следующее
От: Sam Barnett-Cormack
Дата:
Сообщение: Re: Continue with the original idea, about JOINS....