Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OEM-Commnds Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server
  • Oracle 10g Wait Model Oracle
  • Drop tempfiles from database Oracle
  • Parallel DML Oracle
  • executing Function from SQLPLUS prompt Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Explain Plan Output 2 Oracle
  • The most important Tuning Notes Oracle
  • standard Monitoring – 1 Oracle
  • S3 Basic info AWS
  • copying/removing directory with all its subdirectory Linux/Unix
  • Roles and Stored Object behaviour Oracle
  • UTL_FILE test program 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

  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • The most important Tuning Notes Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Configure ssh authentications for RAC Oracle
  • SQL Tracker by SID sqltrackerbysid.sql 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Oracle Identifiers Oracle
  • RAC 11g with vmware Oracle
  • ORACLE_SID in sqlplus Oracle
  • All About Trace Fils Oracle
  • Error Handling in Proc Oracle
  • Find_table_size.sql Oracle
  • sess_server.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme