pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: k.c. hemelstrand <kc@avsupport.com>
To: pgsql-sql@postgresql.org
Subject: update syntax error?
Date: Tue, 15 Aug 2000 22:22:08 -0500
Message-ID: <000601c00ac0$081275c0$122f7418@avsupport.com> (raw)

Can anybody help with why I am receiving the error below?

Thanks
K.C.


parts=# \d av_parts
                                     Table "av_parts"
      Attribute      |    Type     |                       Modifier                        
---------------------+-------------+-------------------------------------------------------
 itemid              | integer     | not null default nextval('av_parts_itemid_seq'::text)
 vendorid            | integer     | 
 partnumber          | varchar(25) | 
 alternatepartnumber | varchar(25) | 
 nsn                 | varchar(15) | 
 description         | varchar(50) | 
 condition           | varchar(10) | 
 quantity            | integer     | 
 rawpartnumber       | varchar(25) | 
 rawalternatenumber  | varchar(25) | 
 rawnsnnumber        | varchar(15) | 
 date                | integer     | 
 cagecode            | varchar(10) | 
Indices: av_parts_alternatepartnumber_in,
         av_parts_itemid_key,
         av_parts_nsn_index,
         av_parts_partnumber_index,
         av_parts_rawalternatenumber_ind,
         av_parts_rawnsnnumber_index,
         av_parts_rawpartnumber_index,
         av_parts_vendorid_index


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'

view thread (3+ messages)  latest in thread

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