NULL in the Oracle Database — Is it special, or strange, or just wrong?
use-the-index-luke.com
use-the-index-luke.com
Also, if you add NULL to an IN(...) clause, it will return nothing at all. If you do a subselect that returns an empty string, then this will stop the query from working.
More traps for young players. Can't believe Oracle hasn't fixed this yet!