Chinaunix's Archiver
论坛
›
Informix
› 请问如何在informix 中建立check约束,谢谢!!
osystem
发表于 2008-02-26 13:44
请问如何在informix 中建立check约束,谢谢!!
我用如下语句建立check 约束
alter table t1 add CONSTRAINT ckc_t1 CHECK(
stat IN('0','1','2','3','4','5','6','7','8','9','A'))
提示201: A syntax error has occurred.
哪里有问题呢? 请大家指教。
谢谢!!!!
页:
[1]
查看完整版本:
请问如何在informix 中建立check约束,谢谢!!