Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Backup and Recovery Scenarios Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • How to calculate PROCESSES parameter Oracle
  • shutdown linux Linux/Unix
  • Good Site for Oracle Internals Oracle
  • Good Link from metalink 1 Oracle
  • Changing the Global Database Name Oracle
  • Implementation of key based authentications Linux/Unix
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • move_arch_files.ksh Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • oracle 10g on linux Linux/Unix
  • plan10g.sql good Oracle
  • Giving Grant on v$DATABASE Oracle
  • to see when crontab is changed. Linux/Unix

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

  • To see how much time or progress of long transaction Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Export Import with QUERY Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • New OFA for 11g 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
  • Creating never expiring DB user accounts in Oracle Oracle
  • To see how much time or progress of long transaction Oracle
  • New OFA for 11g Oracle
  • V$ROLLSTAT status is Full Oracle
  • V$transaction notes for finding XID composition. Oracle
  • chk_space_SID.ksh Linux/Unix
  • Import and export statements Oracle
  • Formatter Explain plan Output 1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme