Re: prefer (+) oracle notation

From: Claudio Jose Zanardi Grillo <cjg(at)certi(dot)ufsc(dot)br>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: prefer (+) oracle notation
Date: 2000-10-20 11:57:31
Message-ID: 39F0332B.557711BC@certi.ufsc.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

The Sybase notation for outer joins seems to be good too:

*=
or
=*

Claudio

Edmar Wiggers wrote:

> I'm not sure about the standard, but I really like Oracle's notation for
> foreign keys:
>
> select a.item_number, b.group_code_description
> from items a, group_codes b
> where a.group_code = b.group_code (+);
>
> Much better than
>
> select a.item_number, b.group_code_description
> from items a outer join group_codes b on a.group_code = b.group_code;
>
> In fact, it's MUCH BETTER when you have to join several tables (one thing
> PgSQL is very good at, by the way). In such cases, the seconde syntax
> requires an unreadable lot of ()'s in the from clause.
>
> Don't mean to throw away the standard though, but having Oracle's (+) syntax
> around too would be a big help.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Heaven 2000-10-20 12:15:42 Out of memory errors with mod_perl
Previous Message Ron Chmara 2000-10-20 07:43:32 Re: MySQL -> pgsql