PostgreSQL syntax question - Mailing list pgsql-sql

From Stephen Davies
Subject PostgreSQL syntax question
Date
Msg-id 199809180507.OAA32277@mustang.sdc.com.au
Whole thread Raw
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] postmaster dies on complicated views
Next
From: William Leeke
Date:
Subject: SQL equiv to MS-Access Transform