Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV File using Python Python/PySpark
  • Formatter Explain plan Output 1 Oracle
  • Jai Shree Ram Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Jai Shree Ram Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • For Search and replace unix command. Linux/Unix
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • Index Range Scan Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • EXTPROC Oracle
  • FRA Information. 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

  • eplan.sql Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Export Import with QUERY Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Oracle Metalink useful notes 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 (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • export import with parameter file. Oracle
  • checking connectivity between two servers Linux/Unix
  • Rename Oracle Instance Name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme