Re: how to remove empty rows - Mailing list pgsql-novice

From Lew
Subject Re: how to remove empty rows
Date
Msg-id ip93kd$dov$1@news.albasani.net
Whole thread Raw
In response to Re: how to remove empty rows  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
List pgsql-novice
Jean-Yves F. Barbier wrote:
> e-letter wrote:
>> The command 'INSERT INTO' was used to enter the sum of a mathematical
>> function into a table. On a condition, the result was null, causing
>> the creation of an empty row in the table.
>>
>> Using tho command 'DELETE' with the expression:
>>
>> ...=NULL;
>>
>> does not remove the empty row. How to remove please?
>
> NULL is *NOT* a value; use ISNULL to test.

Thus comparison to equal NULL ( = NULL) or to not equal NULL ( != NULL) can
never succeed.  That's why SQL has "IS NULL" and "IS NOT NULL".

--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: how to remove empty rows
Next
From: Grzegorz Szpetkowski
Date:
Subject: Server statistics