QuestionQ135

Understand Snowflake roles, and data access management

Which SQL command should be used to transfer ownership of the SAMPLE_DB database?

Explanation

In Snowflake, ownership of a database is transferred with GRANT OWNERSHIP ON DATABASE ... TO ROLE .... Ownership is a special privilege that transfers control of the object to the receiving role; granting ALL, USAGE, or SYSADMIN does not itself transfer database ownership.

Learn more

Community Discussion

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