Domain-level CHECK constraints wrongly process NULL values [CORE2039] #2476
Submitted by: @dyemanov
CREATE DOMAIN D_DATE AS DATE
CREATE PROCEDURE TMP (PDATE D_DATE)
EXECUTE PROCEDURE TMP (NULL);
As we can see, the NULL value is treated as a zero-valued date by the check constraint.
The text was updated successfully, but these errors were encountered: