Skip to main content

schemata

Inspect databases visible to your SQL user in the selected catalog.

Run the query in the warehouse SQL Editor or a connected SQL client:

SELECT * FROM information_schema.schemata LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
CATALOG_NAMEvarchar(512)External catalog name.
SCHEMA_NAMEvarchar(32)The name of the database.
DEFAULT_CHARACTER_SET_NAMEvarchar(32)For compatibility with MySQL only, no actual function.
DEFAULT_COLLATION_NAMEvarchar(32)For compatibility with MySQL only, no actual function.
SQL_PATHvarchar(512)For compatibility with MySQL only, no actual function.
DEFAULT_ENCRYPTIONvarchar(3)For compatibility with MySQL only, no actual function.

Use DESCRIBE information_schema.schemata; to inspect the schema in your warehouse.