Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • plan10g.sql good1 Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • How to set Processes Parameter Oracle
  • SYSOPER Mystery Oracle
  • VIvek Encryption Package and Its Usage Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Find total file sizes Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Optimizer SORT Operations Oracle
  • For Search and replace unix command. Linux/Unix
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Convert multiple rows to single column Oracle
  • Clean up 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

  • USE_NL and INDEX hints example Oracle
  • Clean up Oracle
  • longtx.sql Oracle
  • plan10g.sql good1 Oracle
  • Export With Query Another Example. Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade 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 (397)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (345)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • nfs mount command Linux/Unix
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • find_cons.sql Oracle
  • Rollback force for distributed transactions Oracle
  • create trigger syntax Oracle
  • perf_today.sql Oracle
  • good note for shared pool tunnig Oracle
  • TRUNCATE Privs Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme