我会努力工作,提高测试技能。

如何删除oracle数据库中某张表的某条约束?

上一篇 / 下一篇  2011-02-17 15:31:26 / 个人分类:数据库

1.找到约束所在的表名

select * from user_constraints where constraint_name ='约束名称'

2.删除此表中的约束

alter table 表名 drop constraint 约束名称


TAG:

 

评分:0

我来说两句

Open Toolbar