Complete the code to switch to the SYSADMIN role.
USE ROLE [1];The USE ROLE command switches your current role. To switch to the SYSADMIN role, use USE ROLE SYSADMIN;.
Complete the code to grant the SECURITYADMIN role to a user.
GRANT ROLE [1] TO USER alice;The GRANT ROLE command assigns a role to a user. To give the SECURITYADMIN role to user alice, use GRANT ROLE SECURITYADMIN TO USER alice;.
Fix the error in the command to switch to the ACCOUNTADMIN role.
USE ROLE [1];Role names are case-sensitive and must be uppercase. The correct role name is ACCOUNTADMIN.
Fill both blanks to create a role hierarchy where SYSADMIN is granted to ACCOUNTADMIN.
GRANT ROLE [1] TO ROLE [2];
To grant SYSADMIN role to ACCOUNTADMIN role, use GRANT ROLE SYSADMIN TO ROLE ACCOUNTADMIN;.
Fill both blanks to revoke the SECURITYADMIN role from user bob.
REVOKE ROLE [1] FROM USER [2];
To remove the SECURITYADMIN role from user bob, use REVOKE ROLE SECURITYADMIN FROM USER bob;.