Re: [INTERFACES] selectecting not null varchars. - Mailing list pgsql-interfaces

From Ed Loehr
Subject Re: [INTERFACES] selectecting not null varchars.
Date
Msg-id 38B58ED8.FDE3E3C7@austin.rr.com
Whole thread Raw
In response to selectecting not null varchars.  (Joseph Shraibman <jks@p1.selectacast.net>)
Responses Re: [INTERFACES] selectecting not null varchars.  ("Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Joseph Shraibman
Date:
Subject: selectecting not null varchars.
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: [INTERFACES] selectecting not null varchars.