日期:2014-05-16  浏览次数:20348 次

DB2 的CHECK不检查NULL值
Create table test.testchk(
col1 integer check(col1 in (1,2,3))
);
Insert into test.testchk(col1) values(null);

执行成功了,大家想想这是不是bug啊。