MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix B: Schema Rowsets
The VIEW_TABLE_USAGE rowset identifies the tables on which viewed tables, defined in the catalog and owned by a given user, are dependent.
The VIEW_TABLE_USAGE rowset contains the following columns.
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. |
Default Sort Order: VIEW_CATALOG, VIEW_SCHEMA, VIEW_NAME, TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME