QuestionQ5

Understand Snowflake roles, and data access management

How can a user transfer ownership of a database to a different role?

Explanation

Snowflake transfers an object's ownership by granting the OWNERSHIP privilege to the receiving role. For a database, the command form is GRANT OWNERSHIP ON DATABASE db_name TO ROLE new_role;.

Learn more

Community Discussion

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