Skip to main content

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 nameTypeDescription
GRANTEEvarchar(81)The authorized user.
TABLE_CATALOGvarchar(512)The catalog name, always 'def'.
TABLE_SCHEMAvarchar(64)The database name.
PRIVILEGE_TYPEvarchar(64)The type of privilege.
IS_GRANTABLEvarchar(3)Whether authorization can be granted to other users.

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