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 name | Type | Description |
|---|---|---|
CATALOG_NAME | varchar(512) | External catalog name. |
SCHEMA_NAME | varchar(32) | The name of the database. |
DEFAULT_CHARACTER_SET_NAME | varchar(32) | For compatibility with MySQL only, no actual function. |
DEFAULT_COLLATION_NAME | varchar(32) | For compatibility with MySQL only, no actual function. |
SQL_PATH | varchar(512) | For compatibility with MySQL only, no actual function. |
DEFAULT_ENCRYPTION | varchar(3) | For compatibility with MySQL only, no actual function. |
Use DESCRIBE information_schema.schemata; to inspect the schema in your warehouse.