Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • import-export with multiple files Oracle
  • Convert multiple rows to single column Oracle
  • oracle 10g on linux Linux/Unix
  • Wait Based Tuning Step by step with SQL statement Oracle
  • findobj.sql Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • PLSQL Table Syntax 1 Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • note id 373303.1 Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • This is im telling Kishore Oracle
  • Identical Dblink Issue… Oracle
  • Oracle Statspack survival Guide Oracle
  • Find_table_size.sql Oracle

Set Role explaination.

Posted on 23-Sep-2005 By Admin No Comments on Set Role explaination.

“Set Role” statement. ( Remember : It affects current session only )

Use the SET ROLE statement to enable and disable roles for your current session. This statement will be useful when you want to give special privilege to specific user for a specific period of time.

When a user logs on, Oracle Database enables all privileges granted explicitly to the user and all privileges in the user’s default roles. During the session, the user or an application can use the SET ROLE statement any number of times to change the roles currently enabled for the session.

You can see which roles are currently enabled by examining the SESSION_ROLES data dictionary view.

Oracle, SQL scripts

Post navigation

Previous Post: online_bkup.sql
Next Post: Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT

Related Posts

  • How to check current redo log progress redo_progress.sql Oracle
  • Absolute file number and relative file number Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • cur_sql.sql Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Find All internal Parameters Oracle
  • initUOCIOTTO.ora Oracle
  • Configure ssh authentications for RAC Oracle
  • Import and export statements Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Nice notes on wait events Oracle
  • alter database backup controlfile to trace Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme