SYSCAT.VARIABLEDEP catalog view
Each row represents a dependency of a global variable on some other object. The global variable depends on the object of type BTYPE of name BNAME, so a change to the object affects the global variable.
Column Name | Data Type | Nullable | Description |
---|---|---|---|
VARSCHEMA | VARCHAR (128) | Schema name of the global variable that has dependencies on another object. | |
VARMODULENAME | VARCHAR (128) | Y | Unqualified name of the module to which the global variable belongs. The null value if not a module variable. |
VARNAME | VARCHAR (128) | Unqualified name of the global variable that has dependencies on another object. | |
VARMODULEID | INTEGER | Y | Identifier for the module of the object that has dependencies on another object. |
BTYPE | CHAR (1) | Type of object on which there is a dependency. Possible values
are:
|
|
BSCHEMA | VARCHAR (128) | Schema name of the object on which there is a dependency. | |
BMODULENAME | VARCHAR (128) | Y | Unqualified name of the module to which the object on which a dependency belongs. The null value if not a module object. |
BNAME | VARCHAR (128) | Unqualified name of the object on which there is a dependency. For routines (BTYPE = 'F'), this is the specific name. | |
BMODULEID | INTEGER | Y | Identifier for the module of the object on which there is a dependency. |
TABAUTH | SMALLINT | Y | The value for this column is encoded as a bitmap, the values of which can be found in
If BTYPE = 'O', 'S', 'T', 'U', 'V', 'W', or 'v', encodes the privileges on the table or
view that are required by the dependent global variable; the null value otherwise.<install path>/include/sql.h and are as follows:
|