They're not saying the same thing: a pointer to a dummy "nil struct" can be safely dereferenced by the machine (low-level-valid) yet remains disjoint from all the (high-level-) valid structures of that type; however a NULL stored in a DB is not equivalent to (in the case given, should not be confused with) either a '' or a 0 or a FALSE.
Null pointers <> SQL NULL