ITeye博客

DB2 的CHECK不检查NULL值

luzl · 2011-05-18 22:36 · DB2 · 数据库 · Markdown


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

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。