Each row in the SYSDEPENDENCY system view describes a dependency between two database objects. The underlying system table for this view is ISYSDEPENDENCY.
A dependency exists between two database objects when one object references another object in its definition. For example, if the query specification for a view references a table, the view is said to be dependent on the table. The database server tracks dependencies of views on tables, views, materialized views, and columns.
|Column name||Column type||Column constraint|
|ref_object_id||UNSIGNED BIGINT||NOT NULL|
|dep_object_id||UNSIGNED BIGINT||NOT NULL|
ref_object_id The object ID of the referenced object.
dep_object_id The ID of the referencing object.
PRIMARY KEY (ref_object_id, dep_object_id)
FOREIGN KEY (ref_object_id) references SYS.ISYSOBJECT (object_id)
FOREIGN KEY (dep_object_id) references SYS.ISYSOBJECT (object_id)