Re: Compiere ERP and SQL quirks

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Marek Mosiewicz <marekmosiewicz(at)poczta(dot)onet(dot)pl>
Subject: Re: Compiere ERP and SQL quirks
Date: 2005-01-07 21:41:41
Message-ID: 41DF0215.70604@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:
> Andreas wrote:
>

>>Doesn't something like
>>
>>UPDATE t1 SET col1=cola, col2=colb
>> FROM t1 JOIN anothertable ot ON t1.id=ot.id
>> WHERE ...
>>
>>Work the way you'd like it? I'd expect this syntax to be as widely
>>portable and performant.
>
>
> Hmm, 'from' in an update is a PostgreSQL extension to the update command
> :).

Ooops... Oracle doesn't know it, I used to use it on MSSQL.

Regards,
Andreas

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-01-07 22:00:50 Re: [HACKERS] Bgwriter behavior
Previous Message Peter Eisentraut 2005-01-07 19:44:57 Libtool?