I have 2 databases. Let's call them dba and dbb. I have a user in dba called dba_users that needs select and select only for a view in dbb. It is called dbb_view. I am thinking that the best way is to grant a role for that user. dba_user_role.
What is the syntact for creating the user and associating the role to that user and granting the role select only permission for the view?
What is the syntact for creating the user and associating the role to that user and granting the role select only permission for the view?