Grant READ vs SELECT in oracle 12c new
Grant READ vs SELECT in oracle 12C
========================================
From oracle 12c has introduced new privilege "READ" it will be little different than select.
The main difference b/w select and read are. select privilege will allow user can lock table rows, Read privilege does not allow to lock.
example:-
SQL> GRANT SELECT ANY TABLE TO <schema_name>;
Grant succeeded.
SQL> GRANT READ ANY TABLE TO <schema_name>;
Grant succeeded.
grant for particular object.
SQL> GRANT SELECT ON <schema_name.Object_name> TO <schema_name>;
Grant succeeded.
Thanks for your visit!
your comment and suggestions are more helpful in my future posts more effective.
========================================
From oracle 12c has introduced new privilege "READ" it will be little different than select.
The main difference b/w select and read are. select privilege will allow user can lock table rows, Read privilege does not allow to lock.
example:-
SQL> GRANT SELECT ANY TABLE TO <schema_name>;
Grant succeeded.
SQL> GRANT READ ANY TABLE TO <schema_name>;
Grant succeeded.
grant for particular object.
SQL> GRANT SELECT ON <schema_name.Object_name> TO <schema_name>;
Grant succeeded.
SQL> GRANT READ ON <schema_name.Object_name> TO <schema_name>;
Grant succeeded.
Thanks for your visit!
your comment and suggestions are more helpful in my future posts more effective.
Comments
Post a Comment