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.

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

Popular posts from this blog

Shareplex some commands

SQL Tuning Task Creation ORA-13780: SQL statement does not exist.

ORA 700 [kskvmstatact: excessive swapping observed]