| From: | Richard Poole <richard(dot)poole(at)vi(dot)net> |
|---|---|
| To: | Christopher Audley <Christopher(dot)D(dot)Audley(at)jhu(dot)edu> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Oracle to PostgreSQL help: What is (+) in Oracle select? |
| Date: | 2001-03-16 23:35:31 |
| Message-ID: | 20010316233531.A10408@office.vi.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On Fri, Mar 16, 2001 at 05:57:14PM -0500, Christopher Audley wrote:
> I'm trying to modify an application which runs on Oracle to run against
> PostgreSQL. I'm currently stuck on a query that I can't recognize, it
> doesn't look like standard SQL.
>
> 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?
It's an outer join. In Postgres it'd be
SELECT o.* from one left outer join two using ( key )
but it's new in 7.1 .
Richard
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2001-03-17 00:02:27 | Re: Oracle to PostgreSQL help: What is (+) in Oracle select? |
| Previous Message | Michael Davis | 2001-03-16 23:23:31 | RE: Oracle to PostgreSQL help: What is (+) in Oracle select? |