查询ORACLE表的约束

查询ORACLE表的约束

违反约束条件无法删除, 查询约束关系slq如下:

select * from user_constraints where table_name='TB_DEVICE'
select * from user_constraints where constraint_name='PK_TB_DEVICE'

原文地址:https://www.cnblogs.com/hanyun/p/1456377.html