Mohamed Houri’s Oracle Notes

September 13, 2007


Filed under: Oracle — hourim @ 11:14 am

I found DBMS_SESSION.IS_ROLE_ENABLED a very interesting function which the last time I’ve used, it helped me overcome a security problem.

The standrads applied in the compagny I was working for did not allow select on dba roles and priviledges tables. When I have developed an oracle forms I was told to enable or disable the commit button depending on the role of the connected user. As far as those standards prevent me for doing select on those specific tables, I turned arround and decide to make use of DBMS_SESSION as follows

In a when new form instance trigger




Create a free website or blog at

Tony's Oracle Tips

Tony Hasler's light hearted approach to learning about Oracle

Richard Foote's Oracle Blog

Focusing Specifically On Oracle Indexes, Database Administration and Some Great Music

Hatem Mahmoud Oracle's blog

Just another Oracle blog : Database topics and techniques

Mohamed Houri’s Oracle Notes

Qui se conçoit bien s’énonce clairement

Oracle Diagnostician

Performance troubleshooting as exact science

Raheel's Blog

Things I have learnt as Oracle DBA

Coskan's Approach to Oracle

What I learned about Oracle

So Many Oracle Manuals, So Little Time

“Books to the ceiling, Books to the sky, My pile of books is a mile high. How I love them! How I need them! I'll have a long beard by the time I read them”—Lobel, Arnold. Whiskers and Rhymes. William Morrow & Co, 1988.

Carlos Sierra's Tools and Tips

Tools and Tips for Oracle Performance and SQL Tuning

Oracle Scratchpad

Just another Oracle weblog


Dominic Brooks on Oracle Performance, Tuning, Data Quality & Sensible Design ... (Now with added Sets Appeal)