开始使用免费开始使用

Role-based Access Control — Question 2

Run the command SELECT CURRENT_USER; to see your username, and then use the GRANT ROLE ... TO USER command to grant the tasty_role role to your username. Then use the USE ROLE command to switch to the role tasty_role. Finally, in the tasty_role role, use the CREATE WAREHOUSE command to create a warehouse called tasty_test_wh. What do you see in the Results?

本练习是课程的一部分

Intro to Snowflake for Devs, Data Scientists, Data Engineers

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习