Oracle find a constraint
问题 I have a constraint called users.SYS_C00381400 . How do I find what that constraint is? Is there a way to query all constraints? 回答1: select * from all_constraints where owner = '<NAME>' and constraint_name = 'SYS_C00381400' / Like all data dictionary views, this a USER_CONSTRAINTS view if you just want to check your current schema and a DBA_CONSTRAINTS view for administration users. The construction of the constraint name indicates a system generated constraint name. For instance, if we