USAGE_PRIVILEGES view

In accordance with the ANSI standard, this view displays a row for each privilege defined for sequences in the specified (or current) database.

To view privileges on other types of objects, use the OBJECT_PRIVILEGES view view.

Columns

Column NameData TypeDescription
GRANTORVARCHARRole who granted the usage privilege
GRANTEEVARCHARRole to whom the usage privilege is granted
GRANTED_TOVARCHARType of object that has been granted the privilege
OBJECT_CATALOGVARCHARDatabase containing the object on which the privilege is granted
OBJECT_SCHEMAVARCHARSchema containing the object on which the privilege is granted
OBJECT_NAMEVARCHARName of the object on which the privilege is granted
OBJECT_TYPEVARCHARType of the object on which the privilege is granted
PRIVILEGE_TYPEVARCHARType of the granted privilege
IS_GRANTABLEVARCHARWhether the privilege was granted WITH GRANT OPTION
CREATEDTIMESTAMP_LTZCreation time of the privilege

Usage notes

  • The view only displays objects for which the current role for the session has been granted access privileges.