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

Home -> Community -> Mailing Lists -> Oracle-L -> Dynamic SET ROLE (Answer)

Dynamic SET ROLE (Answer)

From: Powers, Kathy DOT/VM <ISB014_at_GOV.NB.CA>
Date: Tue, 16 Jan 1996 11:12:00 +0100
Message-Id: <9601161559.AA30225@alice.jcc.com>


I feel really stupid....

The way in which I am able to dynamically set a role is via the built in:

     sys.dbms_session.set_role(role_name)

I had tried this from within my form prior to posing the question to the list and could not get it to work when the role_name was a variable (not within quotes). Turns out that I had MISSPELLED the variable!! (Like I said I really feel stupid, but I hope that someone else gained some knowlege about setting roles on the fly!) Received on Tue Jan 16 1996 - 11:00:05 CST

Original text of this message

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