Well, I think most people expect that columns tab to show you what is in
DBA_TAB_COLUMNS. So if I started doing something else, someone else would say
it’s a bug. But setting that argument aside, if we tried to interpret your
check constraints to determine what can really be not null and what
cannot…I think we would inevitably be incorrect due to the way some check
constraint was written.
For example:
ALTER TABLE EMP ADD
CONSTRAINT EMP_C01
CHECK ((emp is not null) or (ename is not null))
Here, I would be wrong if I just looked for a column name followed by ‘is
not null’.