Chinaunix
标题:
请问如何在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.
哪里有问题呢? 请大家指教。
谢谢!!!!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2