pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: rute solipa <rutes@eselx.ipl.pt>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: help need it
Date: Tue, 8 Apr 2003 17:40:39 -0200 (GMT+2)
Message-ID: <Pine.LNX.4.44.0304081734510.2563-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <3E92E3B1.7070405@eselx.ipl.pt>

On Tue, 8 Apr 2003, rute solipa wrote:

> i've an oracle query:
> 
> Select tb_users.ds_description, tb_users.cd_role, tb_users.cd_user, 
> tb_users.ds_login, tb_monitores.cod_equipa from tb_users, tb_monitores 
> where ds_login like 'varLogin' and ds_password like 'varPassword' and 
> tb_users.cd_user = tb_monitores.cd_user(+)
> 
> how can i transform it to an postgresql query?

Can you check the postgresql manual if the (+) operator
means something related to OUTER joins?
If yes then use [LEFT|RIGHT] OUTER JOIN of postgresql.

> 
> 
> best regards
> 
> etur
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel:    +30-210-8981112
fax:    +30-210-8981877
email:  achill@matrix.gatewaynet.com
        mantzios@softlab.ece.ntua.gr




view thread (4+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0304081734510.2563-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0304081734510.2563-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0304081734510.2563-100000@matrix.gatewaynet.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: achill@matrix.gatewaynet.com, rutes@eselx.ipl.pt
  Subject: Re: help need it
  In-Reply-To: <Pine.LNX.4.44.0304081734510.2563-100000@matrix.gatewaynet.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