Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Set Role explaination. Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • ORA-3136 Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Physical Standby switchover with session active Oracle
  • xargs use Linux/Unix
  • How to choose Driver table in SQL statement Oracle
  • Sequence Resetting Oracle
  • RAC with RHEL4 and 11g Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Recovering lost SYS password Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • Specify the Rollback segment to use in Transaction 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

  • Find_table_size.sql Oracle
  • plan10g.sql good1 Oracle
  • Handling LOB data in Oracle Oracle
  • Insert cause enqueue locks Oracle
  • block_ident.sql Oracle
  • VIvek Encryption Package and Its Usage 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
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • perf_today.sql Oracle
  • replace alphabets using sed Linux/Unix
  • Implementing Listener Security Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • replacing ^M character when passing files from Windows to Unix Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme