pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carl van Tast <vanTast@Pivot.at>
To: pgsql-sql@postgresql.org
Subject: Re: Is this a bug?
Date: Wed, 14 Nov 2001 10:28:38 +0100
Message-ID: <2od4vtsmsb9ifod31ice97busd1qhcjb4f@4ax.com> (raw)
References: <9sqakt$op1$1@news.tht.net>
	<73t1vtk61pcsob9pa0p32a9eou3a31tolh@4ax.com>
	<9srnih$10qq$1@news.tht.net>

On Tue, 13 Nov 2001 10:07:56 -0800, "Jack Gao" <wei@gaofamily.org>
wrote:
>"Carl van Tast" <vanTast@Pivot.at> wrote in message
>news:73t1vtk61pcsob9pa0p32a9eou3a31tolh@4ax.com...
>> Update tblUserConfig
>>   Set Value = '1'
>>   From tblConfigItem As b
>>   Where tblUserConfig.ItemID = b.ID
>>     And b.Scope = 3
>>     And tblUserConfig.UserID = 1
>>     And b.Name = 'UserClassID';
>
>So, I can't use JOIN in UPDATE?

You cannot use explicit JOIN syntax. But you use joins implicitly.
Just construct your WHERE clause as if you had tblUserConfig in your
FROM clause.

>
>Thanks for your reply
>
>Jack
Kind regards
 Carl van Tast



view thread (7+ messages)  latest in thread

Message-ID: <2od4vtsmsb9ifod31ice97busd1qhcjb4f@4ax.com>
Permalink:  ../2od4vtsmsb9ifod31ice97busd1qhcjb4f@4ax.com/
Also on:    postgresql.org/message-id/2od4vtsmsb9ifod31ice97busd1qhcjb4f@4ax.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: vanTast@Pivot.at
  Subject: Re: Is this a bug?
  In-Reply-To: <2od4vtsmsb9ifod31ice97busd1qhcjb4f@4ax.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