Re: SQL Syntax problem - Mailing list pgsql-sql

From sad
Subject Re: SQL Syntax problem
Date
Msg-id 200309300922.06402.sad@bankir.ru
Whole thread Raw
In response to SQL Syntax problem  (Doris Bernloehr <bedo7@gmx.net>)
Responses Re: SQL Syntax problem  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-sql
> I've got a problem in porting the following select statement from Oracle to
> Postgres, because of the characters after "b.bet_id" and "f.ask_id" in the
> where clause: (+)
> I don't know what these characters mean and how I can transform these into
> PostgreSql Syntax.
>
>
> select        ...
> from         auswahlkatalog k, anspruchkorrektur a, beteiligter b, v_betkorr f
> where           k.awk_id = a.awk_id and b.bet_id(+) = a.bet_idemp
>         and a.ask_id = f.ask_id(+)

This  (+)  means JOIN
e.g. (+)-marked equations used as a joining condition

To translate it to PGSQL syntax simply remove (+)
:-)
(only one thing i forgot: isn't it OUTER JOIN?...)



pgsql-sql by date:

Previous
From: Suresh Basandra
Date:
Subject: insert error
Next
From: Gaetano Mendola
Date:
Subject: Re: SQL Syntax problem