DBA_REFS
describes the REF
columns and REF
attributes in object type columns of all the objects in the database. Its columns are the same as those in "ALL_REFS".
· ALL_REFS
describes the REF
columns and REF
attributes in object type columns accessible to the current user.
· USER_REFS
describes the REF
columns and REF
attributes in object type columns owned by the current user. This view does not display the OWNER
column.
Column | Datatype | NULL | Description |
|
|
| Owner of the table |
|
|
| Name of the table |
|
| | Name of the |
|
| | Indicates whether the |
|
| | Indicates whether the |
|
| | Owner of the scope table, if it exists and is accessible by the user |
|
| | Name of the scope table, if it exists and is accessible by the user |
|
| | Indicates whether the object ID (OID) is |
Note:
1. select * from DBA_REFS;
OWNER | TABLE_ NAME | COLUMN_ NAME | WITH_ ROWID | IS_ SCOPED | SCOPE_ TABLE_ OWNER | SCOPE_ TABLE_ NAME | OBJECT_ ID_ TYPE |
XDB | XDB$ALL_MODEL | "XMLDATA"."PARENT_SCHEMA" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANY | "XMLDATA"."PROPERTY"."PARENT_SCHEMA" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANY | "XMLDATA"."PROPERTY"."PROPREF_REF" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANY | "XMLDATA"."PROPERTY"."SMPL_TYPE_DECL" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANY | "XMLDATA"."PROPERTY"."TYPE_REF" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANYATTR | "XMLDATA"."PROPERTY"."PARENT_SCHEMA" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANYATTR | "XMLDATA"."PROPERTY"."PROPREF_REF" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANYATTR | "XMLDATA"."PROPERTY"."SMPL_TYPE_DECL" | YES | NO | | | SYSTEM GENERATED |
XDB | XDB$ANYATTR | "XMLDATA"."PROPERTY"."TYPE_REF" | YES | NO | | | SYSTEM GENERATED |