Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: alter session

Re: alter session

From: Arup Nanda <orarup_at_hotmail.com>
Date: Tue, 06 May 2003 12:08:25 -0800
Message-ID: <F001.0059195C.20030506120825@fatcity.com>


It's one of the quarky features of Oracle. Contrary to what it may seem logical, ALTER SESSION privilege is not needed for any alter session operation except the sql_trace = true and setting events. In your case SCOTT does not need any ALTER SESSION privilege to alter session set nls*, even setting optimizer_mode!

HTH. Arup Nanda
www.proligence.com

> Hi list
> I create a user scott
> and then gave him create session, create table privileges only.
> Why is he able to do
> alter session set nls_date_format='dd-mon-yyyy' ;
> and
> alter session set nls_language=French;
> but he is unable to
> alter session set sql_trace=true ;
>
> Is it because nls parameters are client side and sql_trace affects the
> server side ?
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: <bulbultyagi_at_now-india.net.in
> INET: bulbultyagi_at_now-india.net.in
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  INET: orarup_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue May 06 2003 - 15:08:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US