读书人

DB2 的CHECK不检察NULL值

发布时间: 2012-07-25 09:43:05 作者: rapoo

DB2 的CHECK不检查NULL值

Create table test.testchk(col1 integer check(col1 in (1,2,3)));Insert into test.testchk(col1) values(null);

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

读书人网 >其他数据库

热点推荐