schema_privileges
Inspect database privileges represented by the MySQL-compatible privilege metadata.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.schema_privileges LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
GRANTEE | varchar(81) | The authorized user. |
TABLE_CATALOG | varchar(512) | The catalog name, always 'def'. |
TABLE_SCHEMA | varchar(64) | The database name. |
PRIVILEGE_TYPE | varchar(64) | The type of privilege. |
IS_GRANTABLE | varchar(3) | Whether authorization can be granted to other users. |
Use DESCRIBE information_schema.schema_privileges; to inspect the schema in your warehouse.