How To Revoke CREATE SESSION Privilege from a User in Oracle?
Submitted by: AdministratorIf you take away the CREATE SESSION privilege from a user, you can use the REVOKE command as shown in the following example script:
>.insqlplus /nolog
SQL> connect SYSTEM/globalguideline
SQL> REVOKE CREATE SESSION FROM dev;
Revoke succeeded.
SQL> GRANT CREATE SESSION TO dev;
Grant succeeded.
This script restored the CREATE SESSION privilege to user "dev", so you can continue other example scripts below.
Submitted by: Administrator
>.insqlplus /nolog
SQL> connect SYSTEM/globalguideline
SQL> REVOKE CREATE SESSION FROM dev;
Revoke succeeded.
SQL> GRANT CREATE SESSION TO dev;
Grant succeeded.
This script restored the CREATE SESSION privilege to user "dev", so you can continue other example scripts below.
Submitted by: Administrator
Read Online Oracle Database Job Interview Questions And Answers
Top Oracle Database Questions
☺ | How To Recover a Dropped Table in Oracle? |
☺ | How To Write Numeric Literals in Oracle? |
☺ | How To Shutdown Your 10g XE Server? |
☺ | What Happens to Indexes If You Drop a Table? |
☺ | How Oracle Handles Dead Locks? |
Top DB Oracle Categories
☺ | Oracle PL-SQL Interview Questions. |
☺ | Oracle DBA Interview Questions. |
☺ | Oracle D2K Interview Questions. |
☺ | OCI Interview Questions. |
☺ | Oracle RMAN Interview Questions. |