VIEW_TABLES System Table Description
Description
A cross-reference of views and tables in the database. Each row in SYSTEM.VIEW_TABLES
references a table used in a view definition. Each view may have one or more entries in the SYSTEM.VIEW_TABLES
table.
Fields
Field | Type | Description |
---|---|---|
VIEWNAME |
string |
Name of the view |
VIEWSCHEMA |
string |
Schema containing the view |
SEQUENCE |
integer |
The number (0-indexed) of the table as it is referenced in the view definition. So if a view definition references tables A,B, and C as in "from A, B, C", then the entry for A in |
TABLENAME |
string |
Table used in definition of the view; there may be multiple rows per view with different or same values of |
SCHEMA |
string |
Schema containing the table used in the definition of the view. |