Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORA-3136 Oracle
  • Search and replace pattern Linux/Unix
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Getting started with notebook Python/PySpark
  • Search and replace editor command in vi Linux/Unix
  • Drop tempfiles from database Oracle
  • Optimizer SORT Operations Oracle
  • Sample WW22 listener.ora Oracle
  • export import with parameter file. Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • cif crons Linux/Unix
  • ORA-8031 issue and solution if it is occuring due to truncate. 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

  • Sending SQLPLUS output in HTML format Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • v$backup.status information Oracle
  • Rman Notes -1 Oracle
  • New Latest Param.sql for finding all hidden parameters also 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
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Reading config file from other folder inside class Python/PySpark
  • Oracle Statspack survival Guide Oracle
  • initUOCIOTTO.ora Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Rman Notes -1 Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme