QuestionQ25

Design and Manage Snowflake Resources and Performance

Which command retrieves results for all objects of the row access policy db1.policies.objectslist at the database level?

Explanation

The INFORMATION_SCHEMA.POLICY_REFERENCES table function supports row access policies with the POLICY_NAME argument and returns a row for each object to which that policy is assigned. The REF_ENTITY_NAME and REF_ENTITY_DOMAIN arguments instead retrieve policies associated with a specified object. Snowflake POLICY_REFERENCES documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!