Schema:

ACCOUNT_USAGE

PRIVACY_POLICIES view

This Account Usage view provides the privacy policies in your account.

Each row in this view corresponds to a different privacy policy.

Columns

Column NameData TypeDescription
policy_idNUMBERInternal/system-generated identifier for the privacy policy.
policy_nameVARCHARName of the privacy policy.
policy_schema_idNUMBERInternal/system-generated identifier for the schema in which the policy resides.
policy_schemaVARCHARSchema that contains the privacy policy.
policy_catalog_idNUMBERInternal/system-generated identifier for the database in which the policy resides.
policy_catalogVARCHARDatabase to which the privacy policy belongs.
policy_ownerVARCHARName of the role that owns the privacy policy.
policy_signatureVARCHARType signature of the privacy policy’s arguments.
policy_return_typeVARCHARReturn value data type.
policy_bodyVARCHARPrivacy policy definition.
policy_commentVARIANTComments entered for the privacy policy (if any).
createdTIMESTAMP_LTZDate and time when the privacy policy was created.
last_alteredTIMESTAMP_LTZDate and time when the privacy policy was last altered.
deletedTIMESTAMP_LTZDate and time when the privacy policy was dropped.
owner_role_typeVARCHARThe type of role that owns the object, for example ROLE.
If a Snowflake Native App owns the object, the value is APPLICATION.
Snowflake returns NULL if you delete the object because a deleted object does not have an owner role.

Usage notes

  • Latency for the view may be up to 120 minutes (2 hours).
  • The view only displays objects for which the current role for the session has been granted access privileges.