Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • find_err.sql for finding errors from dba_errors. Oracle
  • Rman Notes -1 Oracle
  • refre.sql for multitenant Oracle
  • fuser to check who is using diretory Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • How to check current redo log progress redo_progress.sql Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • Processes Parameter decision Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Add new columns in dataframe Python/PySpark
  • Check Oracle installed products using one command Oracle
  • oracle 11g RAC on vmware Oracle
  • crontab syntax Linux/Unix

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

  • Jai Shree Ram Oracle
  • Find_planinfo.sql Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • How to calculate PROCESSES parameter Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • ipcs -l Linux/Unix
  • cache buffer chain latch Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme