Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • JSON/XML Types in Oracle Oracle
  • Zip and unzip with tar Linux/Unix
  • Reading config file from other folder inside class Python/PySpark
  • To find explain plan for a statement that occurred in past. Oracle
  • db_status.sql Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • chk_space_SID.ksh Linux/Unix
  • Mutating Table Error while using database trigger Oracle
  • My Minimum Tuning Programs Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Ports used by Oracle Software Oracle
  • cold backup scripts to copy locally Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters 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

  • FRA Information. Oracle
  • Rman Notes -1 Oracle
  • Oracle Metalink useful notes Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • JSON/XML Types in Oracle Oracle
  • Oracle Release Explaination 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram Oracle
  • First Entry in RAC Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • fuser to check who is using diretory Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • Reading parameter file and printing Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme