Basic Oracle Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

How To Grant CREATE SESSION Privilege to a User in Oracle?

Oracle Database Interview Question
Oracle Database Interview Question

Answer:

If you want give a user the CREATE SESSION privilege, you can use the GRANT command. The following tutorial exercise shows you how to grant DEV the privilege to connect to the server:

>.insqlplus /nolog
SQL> connect SYSTEM/globalguideline

SQL> GRANT CREATE SESSION TO dev;
Grant succeeded.

SQL> disconnect
SQL> CONNECT DEV/developer
Connected.


Download Oracle Database Interview Questions And Answers PDF

Previous QuestionNext Question
What Privilege Is Needed for a User to Connect to Oracle Server?How To Revoke CREATE SESSION Privilege from a User in Oracle?