Skip to main content

INFORMATION_SCHEMA_CATALOG_NAME

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 10.4 LTS and above check marked yes Unity Catalog only

INFORMATION_SCHEMA.INFORMATION_SCHEMA_CATALOG_NAME returns the name of this information schema’s catalog.

Definition

The INFORMATION_SCHEMA_CATALOG_NAME relation contains the following columns:

NameData typeNullableStandardDescription
CATALOG_NAMESTRINGNoYesThe name of the catalog containing this information schema.

Constraints

The following constraints apply to the INFORMATION_SCHEMA_CATALOG_NAME relation:

ClassNameColumn ListDescription
Primary keyINFOCAT_PKCATALOG_NAMEUnique identifier the catalog
Foreign keyINFOCAT_CATS_FKCATALOG_NAMEReferences CATALOGS.

Examples

SQL
> SELECT catalog_name
FROM information_schema.information_schema_catalog_name
default