Basic Oracle Concepts and Programming Question:

How To Revoke CREATE SESSION Privilege from a User in Oracle?

Tweet Share WhatsApp

Answer:

If 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.

Download Oracle Database PDF Read All 430 Oracle Database Questions
Previous QuestionNext Question
How To Grant CREATE SESSION Privilege to a User in Oracle?How To Lock and Unlock a User Account in Oracle?