MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix B: Schema Rowsets


 

CATALOGS Rowset

The CATALOGS rowset identifies the physical attributes associated with catalogs accessible from the DBMS. For some systems, such as Microsoft Access, there may be only one catalog. For Microsoft SQL Server, this rowset would enumerate all catalogs (databases) defined in the system database.

The CATALOGS rowset contains the following columns.

Column name Type indicator Description
CATALOG_NAME DBTYPE_WSTR Catalog name. Cannot be NULL.
DESCRIPTION DBTYPE_WSTR Human-readable description of the table.

Default Sort Order: CATALOG_NAME