Interviewer And Interviewee Guide

Oracle Database Interview Question:

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

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Oracle Database Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.