So anyway, update some_table set foo = '' where foo is null, right?
BZZT! Little did I know that '' becomes NULL in Oracle. Who knew? Well, I know now. We ended up using ' ' (a single space).
I blame all computer programming languages for confusing me.
NULL is broken (Score:1)
Re:NULL is broken (Score:2)
Imagine this... (Score:1)
We inherited a 3rd party application. ALL tables are NOT NULL. And those tables that are "blank" are padded with SPACES! That is around 1400 tables. I could shoot the original DBA.