I have the sample table definition below. Is it possible to create a check constraint wherein the column affected can be nullable?
CREATE TABLE task (
# other definition
registered_date timestamp without time zone NOT NULL,
completed_date timestamp without time zone
# constraints
);
I was planning to imply a constraint check on completed_date so that the input value won't be lesser than registered_date. Is this possible?