本站中文解释 Oracle视图 USER_CONSTRAINTS 是一个主要被用到Data Definition Language(DDL)语句上的视图。它主要显示用户(user)下创建的约束(constraints)信息,它返回该用户所有的约束信息,包括每个约束的名称,所属的表、被约束的字段,约束的类型(primary key, foreign key, unique等),对约束的描述等多个字段(columns...
该视图仅适用于 OceanBase 数据库 Oracle 模式。 字段说明 字段名称类型是否可以为 NULL描述 OWNER VARCHAR2(128) NO 约束的所有者 CONSTRAINT_NAME VARCHAR2(128) NO 约束名字 CONSTRAINT_TYPE VARCHAR2(1) NO 索引类型,目前只支持 NORMAL 类型 TABLE_NAME VARCHAR2(128) NO 约束所在的表的名字 SEARCH_CONDITION...
功能适用性 该视图仅适用于 OceanBase 数据库 Oracle 模式。 字段说明 字段名称类型是否可以为 NULL描述 OWNERVARCHAR2(128)NO约束的所有者 CONSTRAINT_NAMEVARCHAR2(128)NO约束名字 CONSTRAINT_TYPEVARCHAR2(1)NO索引类型,目前只支持 NORMAL 类型 TABLE_NAMEVARCHAR2(128)NO约束所在的表的名字 ...
USER_CONSTRAINTS describes all constraint definitions on tables owned by the current user. Its columns are the same as those in ALL_CONSTRAINTS.
问user_constraints对user_cons_columnsEN1、查找表的所有索引(包括索引名,类型,构成列): select t...
Oracle: You need to have the resource role and have the select permissions on the data table in the tablespace. Dameng: You need to have the select any table permission in the schema. DWS: You need to have the schema usage permission and the query permission on the data tables. SQL Serv...
Database audit is subject to certain constraints.The following types of databases on the management console can be audited in out-of-path mode:Relational Database Service
OceanBase 数据库 SQL 型 V4.2.2 参考指南 系统视图 Oracle 租户系统视图 字典视图 USER_CONSTRAINTS 更新时间:2024-11-20 16:06:13 功能描述 查看用户拥有的所有表的约束信息。 功能适用性 该视图仅适用于 OceanBase 数据库 Oracle 模式。 字段说明