How do I give a user a read-only access in Oracle?

Khánh Đoan

New member
How do I give a user a read-only access in Oracle?
Answer
SQL>create user scott_read_only_user identified
by readonly; SQL>grant create session to scott_read_only_user; SQL>grant select any table to scott_read_only_user; This will only grant read-only to scott tables, you would need to connect to another schema owner to grant them read-only access.
 

Tìm kiếm

Back
Top