Information Schema COLUMN_PRIVILEGES Table
The Information Schema
COLUMN_PRIVILEGES table contains column privilege information derived from the
mysql.columns_priv grant table.
It has the following columns:
|In the format |
|One of |
|Whether the user has the |
Similar information can be accessed with the
SHOW FULL COLUMNS and
SHOW GRANTS statements. See the
GRANT article for more about privileges.
This information is also stored in the
columns_priv table, in the
mysql system database.
For a description of the privileges that are shown in this table, see column privileges.
In the following example, no column-level privilege has been explicitly assigned:
SELECT * FROM information_schema.COLUMN_PRIVILEGES; Empty set
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.