Press "Enter" to skip to content

Double Negative Bit Columns

Aaron Bertrand is not amused with feats of logic:

When I see a bit column allowing NULLs, I always ask:

Is the intention here to have 3-valued logic?
Does NULL mean something different from 0, or will all future code use COALESCE to make them the same?

Excuse me as I look for the modus tollens operator in SQL.