Contains a row for every dependency of a view or a summary table on some
other object. Also encodes how privileges on this view depend on
privileges on underlying tables and views.
Table 99. SYSCAT.VIEWDEP Catalog View
Column Name | Data Type | Nullable | Description |
---|---|---|---|
VIEWSCHEMA | VARCHAR(128) |
| Name of the view or the name of a summary table having dependencies on a base table. |
VIEWNAME | VARCHAR(128) |
| |
DTYPE | CHAR(1) |
|
|
DEFINER | VARCHAR(128) | Yes | Authorization ID of the creator of the view. |
BTYPE | CHAR(1) |
| Type of object BNAME:
|
BSCHEMA | VARCHAR(128) |
| Qualified name of object depended on by the view. |
BNAME | VARCHAR(128) |
| |
TABAUTH | SMALLINT | Yes | If BTYPE= O, S, T, U, V, W then encodes the privileges on the underlying table or view that this view depends on. Otherwise null. |