When attempting to run a select statement that simply excludes some data, null values are wrongfully (?) being excluded as well.
Using table a:
ID NAME
1 Foo
2 Bar
3 (null)
The following statement:
select * from a where NAME<>'Foo'
is returning the following:
ID NAME
2 Bar
Why is ID 3 not returned as a result of this statement? To include the record with the null value, I must change my select statement to
select * from a where (NAME<>'Foo' or NAME is null)