How to grant read and create Views privilege to a role?
Here are the steps I've done:
Grant statement to the role "CUSTOM_ROLE":
GRANT SELECT ON MY_VIEW_1 to CUSTOM_ROLE;
Assign the role to a user id:
GRANT CUSTOM_ROLE TO USERID_123;
Error:
01924. 00000 - "role '%s' not granted or does not exist"
*Cause: Either the role was not granted to the user, or the role did not exist.
*Action: Create the role or grant the role to the user and retry
the operation.
Please kindly help. Thank you.