Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Default User Profile Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • secure crt settings Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • move_arch_files.ksh Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • How to set Processes Parameter Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Good Doc 28-JUN-2006 Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle

My Test Case On 21-OCT-2005

Posted on 21-Oct-2005 By Admin No Comments on My Test Case On 21-OCT-2005

(*) if you grant any role to grantee while grantee is connected to database. He cannot use that role immediately. To use it immediately he needs to execute “Set role role_name” in his session. This will enable that role for him or he needs to logoff and login again.

(*) If you have given any object level grant to grantee, grantee need to execute that as fully qualified path for accessing that object. To access object with simple name you need to create private synonym in grantee’s schema.

(*) If a table is aletered,

(1) its associated trigger & views (dba_dependencies) become invalid.

(2) If some other user are accessing this then trigger and views are compiled automatically and executed if they compiled successfully.

(3) Grants remain intact while this process.

(*) If a table is renamed then

(1) associated trigger, views become invalid.

(2) synonyms that are pointing to this table from other user also unable to resolve target object name and gives ORA-00980 “synonym trnaslation is no longer valid”.

(3) Grantee has all object level grants intact on this new object and this renamed object can be still access with fully qualified name (with schemaname). so user can user those grant. If grantee/owner is able to execute some DML that initiate trigger then trigger will be compiled and validated.

(4) The only problem is view. For views, you need to modify its definition manually and compile. You donot need to re-grant again.

(*) if table is droppped then

(1) Associated trigger also dropped. Views become invalid.

(2) Synonyms that are pointing to this table from other user also unable to resolve target object name and gives ORA-00980 “synonym trnaslation is no longer valid”.

Oracle, SQL scripts

Post navigation

Previous Post: TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1
Next Post: USER_TABLES.Freelists

Related Posts

  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • switchover for primary database Oracle
  • Parallel DML Oracle
  • Monitor Long Running Job Oracle
  • v$backup.status information Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) 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
  • Jai Shree Ram Oracle
  • GSQ.sql Oracle
  • Good notes for shared pool Oracle
  • Python class import from different folders Python/PySpark
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Mutating Table Error while using database trigger Oracle
  • Export With Query Another Example. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme