Accidently i have created the 2 rows for each DBA and AQ_ADMINISTRATOR_ROLE in table user_roles_privs, can you let me know how i can delete 1 row of each and also the query to delete.
This is the current state of the table:Thanks Nilesh
Accidently i have created the 2 rows for each DBA and AQ_ADMINISTRATOR_ROLE in table user_roles_privs, can you let me know how i can delete 1 row of each and also the query to delete.
This is the current state of the table:Thanks Nilesh
You are getting these records as you/someone must have given these roles to your user - C##234
. You need to revoke the role from your user as follows:
REVOKE AQ_ADMINISTRATOR_ROLE FROM C##234; -- You can execute same for DBA
Please make sure that you are executing the command from user with DBA rights.
Read more about REVOKE
from Oracle documentation here