Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • sess_server.sql Oracle
  • oracle 11g RAC on vmware Oracle
  • Jai Shree Ram Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Debugging Shell FIles Linux/Unix
  • tblwopk.sql tablewopk.sql Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • cp_filesystem.sql Oracle
  • Alter procedure auditing Oracle
  • Good RAC & Standby Notes Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • CPU speed on Linux Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm 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

  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • db_status.sql Oracle
  • Multiple listeners Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • database trigger failing 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
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • cif crons Linux/Unix
  • Distributed Transaction Troubleshooting. Oracle
  • Renaming Oracle Instance Name Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Temporary tablespace explaination Oracle
  • proper cpu stats Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme