Skip to main content

table_privileges

Inspect table 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.table_privileges LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
GRANTEEvarchar(81)The authorized user.
TABLE_CATALOGvarchar(512)The name of the catalog.
TABLE_SCHEMAvarchar(64)The name of the database.
TABLE_NAMEvarchar(64)The name of the table.
PRIVILEGE_TYPEvarchar(64)The type of privilege.
IS_GRANTABLEvarchar(3)Whether the privilege can be granted to others.

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