From: sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: SQL Syntax problem
Date: Tue, 30 Sep 2003 09:22:06 +0400
Message-ID: <200309300922.06402.sad@bankir.ru> (raw)
In-Reply-To: <200309281443.09936.bedo7@gmx.net>
References: <200309281443.09936.bedo7@gmx.net>
> 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?...)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sad@bankir.ru
Subject: Re: SQL Syntax problem
In-Reply-To: <200309300922.06402.sad@bankir.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox