Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • chk_space_SID.ksh Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • v$backup.status information Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • eplan9i.sql Oracle
  • Committing distributed transaction using commit force Oracle
  • get_vmstat_linux Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • checking connectivity between two servers Linux/Unix
  • CPU speed on Linux Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Histogram Overview Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Locktree.sql 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

  • import-export with multiple files Oracle
  • This is from Temi Oracle
  • find_idle_cpu.sql Oracle
  • Check Oracle installed products using one command Oracle
  • Goldengate document from Porus Oracle
  • Sample WW22 listener.ora 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • Good notes on Oracle Events Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • v$event_name Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Flowers Resize datafiles Oracle
  • All About oracle password and security from metalink Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme