| From: | pginfo <pginfo(at)t1(dot)unisoftbg(dot)com> |
|---|---|
| To: | Doris Bernloehr <bedo7(at)gmx(dot)net> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: SQL Syntax problem |
| Date: | 2003-09-30 10:23:55 |
| Message-ID: | 3F7959BB.3A24C03@t1.unisoftbg.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Haller | 2003-09-30 10:23:57 | Re: Change of the datatype of a column |
| Previous Message | Gaetano Mendola | 2003-09-30 07:52:51 | Re: SQL Syntax problem |