pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pginfo <pginfo@t1.unisoftbg.com>
To: Doris Bernloehr <bedo7@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL Syntax problem
Date: Tue, 30 Sep 2003 12:23:55 +0200
Message-ID: <3F7959BB.3A24C03@t1.unisoftbg.com> (raw)
References: <200309281443.09936.bedo7@gmx.net>

Hi Doris,
In oracle (+) is left outer join or right outer join .
You need to write:
select        ...
from            auswahlkatalog k,  beteiligter b left outer join anspruchkorrektur a
on(b.bet_id = a.bet_idemp) left outer join v_betkorr f on (a.ask_id = f.ask_id)
where           k.awk_id = a.awk_id ;

regards,
ivan.

Doris Bernloehr wrote:

> Hello.
>
> 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(+);
>
> Hoping for help.
> Doris
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster






view thread (5+ messages)

Message-ID: <3F7959BB.3A24C03@t1.unisoftbg.com>
Permalink:  ../3F7959BB.3A24C03@t1.unisoftbg.com/
Also on:    postgresql.org/message-id/3F7959BB.3A24C03@t1.unisoftbg.com

 · 

reply

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: pginfo@t1.unisoftbg.com, bedo7@gmx.net
  Subject: Re: SQL Syntax problem
  In-Reply-To: <3F7959BB.3A24C03@t1.unisoftbg.com>

* 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