Returns a table with a row for each catalog (i.e., database) defined in the current Firebolt account, with columns containing information as listed below.

Syntax

SHOW CATALOGS;

Returns

The returned table has the following columns.

Column nameData TypeDescription
catalog_nameTEXTThe name of the catalog.
catalog_ownerTEXTCurrent owner of the catalog. Default owner is the user who created the catalog
createdTIMESTAMPTZTime the catalog was created (UTC)
last_alteredTIMESTAMPTZThe date and time that the database was last modified (UTC)
last_altered_byTEXTUser/principal who edited the catalog
ddlTEXTComplete DDL of the database.
descriptionTEXTUser provided description of the database

Example

The following example shows information about CATALOGS in the account:

SHOW CATALOGS;
catalog_namecatalog_ownercreatedlast_alteredlast_altered_byddldescription
AdTechDB_v4firebolt-demo2024-09-03 11:48:31.683328+002024-09-03 11:48:31.683328+00firebolt-demoCREATE DATABAE AdTechDB_v4 () WITH DESCRIPTION=‘DB for AdTech’DB for AdTech