Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Absolute file number and relative file number Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • useful dg links Oracle
  • ORA-3136 Oracle
  • Jai Shree Ram Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Optimizer SORT Operations Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • oracle fast start failover best practice Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Renaming the column name Oracle
  • Mutating Table Error while using database trigger Oracle
  • Renaming Oracle Instance Name Oracle
  • kill all processes from specific user in solaris. Linux/Unix

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

  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • How to stop OCSSD Daemon Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Jai Shree Ram Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Search and replace pattern Linux/Unix
  • Create type and Grant on it. Oracle
  • Sequence Resetting Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • create a folder in multiple places Linux/Unix
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Pending Transaction Neighbors Script Oracle
  • Virtual Indexes in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme