pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ed Loehr <eloehr@austin.rr.com>
To: Joseph Shraibman <jks@p1.selectacast.net>
Cc: pgsql-interfaces@postgreSQL.org <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] selectecting not null varchars.
Date: Thu, 24 Feb 2000 14:04:40 -0600
Message-ID: <38B58ED8.FDE3E3C7@austin.rr.com> (raw)
References: <38B58AAE.B28DD6CB@selectacast.net>

Joseph Shraibman wrote:
> 
>  select * from directory where h != null  ;
> ... gets you this:
> ERROR:  parser: parse error at or near ";"

Postgresql's SQL "not equal" operator is "<>"...Try this:

	select * from directory where h <> null;

Cheers,
Ed Loehr



view thread (7+ messages)  latest in thread

Message-ID: <38B58ED8.FDE3E3C7@austin.rr.com>
Permalink:  ../38B58ED8.FDE3E3C7@austin.rr.com/
Also on:    postgresql.org/message-id/38B58ED8.FDE3E3C7@austin.rr.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-interfaces@postgresql.org
  Cc: eloehr@austin.rr.com, jks@p1.selectacast.net
  Subject: Re: [INTERFACES] selectecting not null varchars.
  In-Reply-To: <38B58ED8.FDE3E3C7@austin.rr.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