Re: How to select rows with values set to NULL - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: How to select rows with values set to NULL
Date
Msg-id 20020523182821.A19865@svana.org
Whole thread Raw
In response to How to select rows with values set to NULL  ("Tille, Andreas" <TilleA@rki.de>)
List pgsql-general
On Thu, May 23, 2002 at 10:00:05AM +0200, Tille, Andreas wrote:
> InfluenzaWeb=# select * from test where txt = NULL;
>  id | txt
> ----+-----
> (0 rows)

Try:

select * from test where txt is NULL;

HTH,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Canada, Mexico, and Australia form the Axis of Nations That
> Are Actually Quite Nice But Secretly Have Nasty Thoughts About America

pgsql-general by date:

Previous
From: "Tille, Andreas"
Date:
Subject: Substring from end of string
Next
From: "Wm. G. Urquhart"
Date:
Subject: Violation of NOT NULL