metadata_name_ids
Look up catalog, database, and table identifiers for objects visible to your SQL user.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.metadata_name_ids LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
CATALOG_ID | bigint | ID of the catalog. |
CATALOG_NAME | varchar(512) | Catalog name. |
DATABASE_ID | bigint | ID of the database. |
DATABASE_NAME | varchar(64) | Name of the database. |
TABLE_ID | bigint | ID of the table. |
TABLE_NAME | varchar(64) | Name of the table. |
Use DESCRIBE information_schema.metadata_name_ids; to inspect the schema in your warehouse.