Re: comparing nulls

Поиск
Список
Период
Сортировка
От Chris Bowlby
Тема Re: comparing nulls
Дата
Msg-id 1074607016.49673.23.camel@morpheus.hub.org
обсуждение исходный текст
Ответ на comparing nulls  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
Ответы Re: comparing nulls
Список pgsql-sql
Hi Ken, 
Under 7.3.x this option was removed, you need to test via:
SELECT * from table where field IS NULL;


On Tue, 2004-01-20 at 09:43, Kenneth Gonsalves wrote:
> in postgres7.1 i had a table where an integer field could be null. There was 
> no default value. a select statement like so:
> 'select * from table where field = null' 
> would give all the rows where that field had no value.
> on porting to 7.3.2, this doesnt work. How to do this?
-- 
Chris Bowlby <excalibur@hub.org>
Hub.Org Networking Services



В списке pgsql-sql по дате отправления:

Предыдущее
От: Kenneth Gonsalves
Дата:
Сообщение: comparing nulls
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: comparing nulls