pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Davies <scldad@sdc.com.au>
To: pgsql-sql@hub.org
Subject: PostgreSQL syntax question
Date: Fri, 18 Sep 1998 14:37:28 +0930
Message-ID: <199809180507.OAA32277@mustang.sdc.com.au> (raw)

The following syntax (which is legal under Oracle) does not parse under 
PostreSQL 6.3.2.

 update table1 set col1=(select col2 from table2 where col3='x') where col4='z';

Is there a variant of the syntax which does work?

Cheers and thanks,
Stephen.

========================================================================
Stephen Davies Consulting	    		                            scldad@sdc.com.au
Adelaide, South Australia.     			                            Voice: 61-8-82728863
Computing & Network solutions.	 	                            Fax: 61-8-82741015





view thread (3+ messages)  latest in thread

Message-ID: <199809180507.OAA32277@mustang.sdc.com.au>
Permalink:  ../199809180507.OAA32277@mustang.sdc.com.au/
Also on:    postgresql.org/message-id/199809180507.OAA32277@mustang.sdc.com.au

 · 

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 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: scldad@sdc.com.au, pgsql-sql@hub.org
  Subject: Re: PostgreSQL syntax question
  In-Reply-To: <199809180507.OAA32277@mustang.sdc.com.au>
  References: <199809180507.OAA32277@mustang.sdc.com.au>

* 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