OLE DB Programmer's Reference

CATALOGS Rowset

GUID: DBSCHEMA_CATALOGS

Number of restriction columns: 1

Restriction columns: CATALOG_NAME

Default sort order: CATALOG_NAME

Description: 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.

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