Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Python class import from different folders Python/PySpark
  • pvm_pre_change.sql Oracle
  • How to find password change date for user Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • JSON/XML Types in Oracle Oracle
  • SYSOPER Mystery Oracle
  • chk_space_SID.ksh Linux/Unix
  • Histogram information Oracle
  • dbms_job.submit example Oracle
  • telnet listening Linux/Unix
  • Paste command syntax Linux/Unix
  • Physical Standby switchover with session active Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry 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

  • get_vmstat.ksh for Solaris Oracle
  • 10g oem configuration Oracle
  • find_string_in_database.sql Oracle
  • Renaming Oracle Instance Name Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • exp syntax in oracle 10g Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • FGA Part-I Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • To check whether standby is recovering properly or not?? Oracle
  • Good notes on Oracle Events Oracle
  • column level grant syntax Oracle
  • Changing the Global Database Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme