Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • Python class import from different folders Python/PySpark
  • rm_backup_arch_file.ksh Linux/Unix
  • Jai Shree Ram Oracle
  • How to analyze statspack or AWR report. Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • Export With Query Another Example. Oracle
  • Processes Parameter decision Oracle
  • How to know current SID Oracle
  • Find Command Linux/Unix
  • Giving Grant on v$DATABASE Oracle
  • good note for shared pool tunnig Oracle
  • oradebug ipcrm ipcs Oracle
  • Pending Distributed Transations Oracle

Database logon trigger issue

Posted on 22-Jun-2009 By Admin No Comments on Database logon trigger issue

Problem Description

——————-

You create a database event trigger that fires each time a user connects to the database.

For any reason, the login trigger becomes invalid. (The trigger is retrieving information from a table that may be inadvertently dropped.)

Who can connect?

Solution Description

——————–

Connect under a user who owns the following system privilege:

ADMINISTER DATABASE TRIGGER

SQL> connect system/manager

Connected.

Example:

SQL> grant ADMINISTER DATABASE TRIGGER to scott;

Grant succeeded.

SQL> connect scott/tiger

Connected.

Exception

———

Under NT, SYSTEM cannot logon even with the ADMINISTER DATABASE TRIGGER privilege, and only a connection as “/ as SYSDBA” is possible and therefore can disable the trigger.

Oracle, SQL scripts

Post navigation

Previous Post: kill all processes from specific user in solaris.
Next Post: pvm_pre_change.sql

Related Posts

  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • All Hints for Oracle Databases Oracle
  • Export Import with QUERY Oracle
  • before_trunc.sql Before Truncate table needs to execute following: 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • tblwopk.sql tablewopk.sql Oracle
  • Important Script Method for tuning Oracle
  • Oracle Connections expire_time and firewall Oracle
  • shutdown linux Linux/Unix
  • set_env_dba Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • fkwoind.sql fkwoindex.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme