Skip to main content
The SHOW SYSTEM GRANTS lists the to .

Syntax

Use the following syntax to show the granted to users:

Parameters

Response

Privilege grants

The SHOW SYSTEM GRANTS statement returns the following fields:

Required privileges

  • No are required to use SHOW SYSTEM GRANTS.

Examples

Show all system grants

To list all system grants for all users and roles:

Show a specific user or role’s grants

To list all system grants for a specific user or role:

See also