日期:2014-05-17  浏览次数:20979 次

oracle删除check约束
oracle能一次删除多个check约束吗?

这样建的check约束
alter table cardInfo add (constraint ck_savingType CHECK(savingType in ('活期','定活两便','定   期')), constraint ck_openMoney  check(openMoney>=1), constraint ck_pass CHECK(pass like '[0-9][0-9][0-9][0-9][0-9][0-9]'))

怎么不能用如下SQL删除这三个约束
alter table cardInfo drop(constraint CK_PASS,
constraint CK_ISREPORTLOSS,constraint CK_OPENMONEY) 
------解决方案--------------------
这样不行的:一般都是一个一个删除的
比如:alter table stu drop constraint 约束名字;