pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mikeo <mikeo@spectrumtelecorp.com>
To: The Hermit Hacker <scrappy@hub.org>
To: k.c. hemelstrand <kc@avsupport.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: update syntax error?
Date: Mon, 21 Aug 2000 10:20:24 -0400
Message-ID: <3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.com> (raw)
In-Reply-To: <Pine.BSF.4.21.0008201626550.801-100000@thelab.hub.org>
References: <000601c00ac0$081275c0$122f7418@avsupport.com>

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 
>



view thread (3+ messages)

Message-ID: <3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.com>
Permalink:  ../3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.com/
Also on:    postgresql.org/message-id/3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.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 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: mikeo@spectrumtelecorp.com, scrappy@hub.org, kc@avsupport.com
  Subject: Re: update syntax error?
  In-Reply-To: <3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.com>
  References: <000601c00ac0$081275c0$122f7418@avsupport.com> <3.0.1.32.20000821102024.009316e0@pop.spectrumtelecorp.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