Udostępnij za pośrednictwem


VIEW_TABLE_USAGE Rowset

GUID: DBSCHEMA_VIEW_TABLE_USAGE

Number of restriction columns: 3

Restriction columns: VIEW_CATALOG, VIEW_SCHEMA, VIEW_NAME

Default sort order: VIEW_CATALOG, VIEW_SCHEMA, VIEW_NAME, TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME

Description: The VIEW_TABLE_USAGE rowset identifies the tables on which viewed tables, defined in the catalog and owned by a given user, are dependent.

Column name

Type indicator

Description

VIEW_CATALOG

DBTYPE_WSTR

Catalog name. NULL if the provider does not support catalogs.

VIEW_SCHEMA

DBTYPE_WSTR

Unqualified schema name. NULL if the provider does not support schemas.

VIEW_NAME

DBTYPE_WSTR

View name.

TABLE_CATALOG

DBTYPE_WSTR

Catalog name in which the table is defined. NULL if the provider does not support catalogs.

TABLE_SCHEMA

DBTYPE_WSTR

Unqualified schema name in which the table is defined. NULL if the provider does not support schemas.

TABLE_NAME

DBTYPE_WSTR

Table name.