From: Joe Conway <jconway2@home.com>
To: Christopher Audley <Christopher.D.Audley@jhu.edu>
To: pgsql-sql@postgresql.org
Subject: Re: Oracle to PostgreSQL help: What is (+) in Oracle select?
Date: Fri, 16 Mar 2001 16:02:27 -0800
Message-ID: <015c01c0ae75$8e63b680$7cd310ac@jecw2k1> (raw)
References: <3AB29A4A.8030303@jhu.edu>
> A select is done across two tables, however when joining the foreign
> key, the right hand side of the equallity has (+) appended
>
> SELECT o.* from one o, two t where o.key = t.key(+)
>
> Does anyone know what this does and how I can reproduce the select in
> PostgreSQL?
Hi Chris,
The (+) in Oracle is for an outer join. See
http://www.postgresql.org/devel-corner/docs/postgres/sql-select.html , in
the join-type description, left outer join. Outer joins are only available
in PostgreSQL 7.1, which is currently in the late stages of beta testing.
Hope this helps,
Joe
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: jconway2@home.com, Christopher.D.Audley@jhu.edu
Subject: Re: Oracle to PostgreSQL help: What is (+) in Oracle select?
In-Reply-To: <015c01c0ae75$8e63b680$7cd310ac@jecw2k1>
References: <3AB29A4A.8030303@jhu.edu> <015c01c0ae75$8e63b680$7cd310ac@jecw2k1>
* 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