Basic Oracle Concepts and Programming Question:
How To Grant CREATE SESSION Privilege to a User in Oracle?
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.
>.insqlplus /nolog
SQL> connect SYSTEM/globalguideline
SQL> GRANT CREATE SESSION TO dev;
Grant succeeded.
SQL> disconnect
SQL> CONNECT DEV/developer
Connected.
Previous Question | Next Question |
What Privilege Is Needed for a User to Connect to Oracle Server? | How To Revoke CREATE SESSION Privilege from a User in Oracle? |