Re: update syntax error? - Mailing list pgsql-sql

From mikeo
Subject Re: update syntax error?
Date
Msg-id 3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.com
Whole thread Raw
In response to Re: update syntax error?  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-sql
query should have a comma instead of the word and...

HTH
mikeo

At 04:27 PM 8/20/00 -0300, The Hermit Hacker wrote:
>
>UPDATE <table> SET field1=<value>,field2=<value>
>
>On Tue, 15 Aug 2000, k.c. hemelstrand wrote:
>
>> Can anybody help with why I am receiving the error below?
>> 
>> Thanks
>> K.C.
>> 
>> 
>> parts=# UPDATE av_parts
>> parts-# SET rawalternaternumber = 'NULL' AND alternatepartnumber = 'NULL'
>> parts-# WHERE rawalternatenumber = 'IVA81A';
>> ERROR:  left-hand side of AND is type 'unknown', not 'bool'
>> 
>
>Marc G. Fournier                   ICQ#7615664               IRC Nick:
Scrappy
>Systems Administrator @ hub.org 
>primary: scrappy@hub.org           secondary:
scrappy@{freebsd|postgresql}.org 
>


pgsql-sql by date:

Previous
From: The Hermit Hacker
Date:
Subject: RE: Speed or configuration
Next
From: Andreas Tille
Date:
Subject: Re: Beginner problems with functions