I've read many things around how Oracle handles null or empty string.
Let's say I have a table with these datas :
id | myfield |
---|---|
id1 | mydata1 |
id2 | mydata2 |
select * from mytable where myfield <> ' ';
select * from mytable where myfield is not null;
select * from mytable where myfield <> '' ;
When executing the first two query, I get some results. Why not with the third one ?, knowing that : it's a NOT clause, and even though my empty string was reinterpreted as null, it would make it as a is not null clause (making the 2nd and third quite the same), making it eligible ?