Subject | Re: Why NULL <> NULL ? |
---|---|
Author | jasajona |
Post date | 2006-05-18T14:08:01Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@...> wrote:
this statement always returs false even if field1 = null :(
even this returns always false:
if (not field1 <> field2) then ...
As I think this should be fixed in future fb releases.
<m.tonies@...> wrote:
> If you want to compare for the state as well, you haveif (field1 is null or field1 = field2) then ...
> to modify your code OR use the COALESCE function
this statement always returs false even if field1 = null :(
even this returns always false:
if (not field1 <> field2) then ...
As I think this should be fixed in future fb releases.