Answer the question
In order to leave comments, you need to log in
How to create a request to select privileges by users?
There is a system user (SYSTEM) in the Oracle database and let's say my user my_user to which I assigned certain rights
, so you need to make a query that would display a table of this kind (dots are a space filler)
+------------ ---------------+----------+-----------+
| Privilege name | SYSTEM | my_user |
+--------------------------------+----------+---------- -+
| create table....|..YES.......|...YES......|
+--------------------------------+----------+---------- -+
| create index.................|..YES......|...NO........|
+--------------------------------+----------+---------- -+
etc
That is, the name of the privilege is the first column, the second YES or NO does the user SYSTEM have this privilege and the 3rd column YES or NO does the user my_user have this privilege
Help write a query, which tables it needs to be done, how to present data from them in in this form?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question