Database Administration (MOSC)

MOSC Banner

Problem with recompiled trigger after DBUA upgrade

edited Jan 30, 2018 2:24PM in Database Administration (MOSC) 2 commentsAnswered ✓

Oracle 12.1.0.2.0 SE2

oracle:mydb$ sqlplus / as sysdbaSQL*Plus: Release 12.1.0.2.0 Production on Mon Jan 29 11:18:26 2018Copyright (c) 1982, 2014, Oracle.  All rights reserved.Connected to:Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production

Oracle Linux 6

oracle:mydb$ uname -aLinux myserver.myorg.org 4.1.12-61.1.6.el6uek.x86_64 #2 SMP Thu Aug 18 21:59:11 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux

Upgrading db from 11.2.0.4 SE-1 to 12.1.0.2 SE-2.

I have a logon trigger that I disable before starting the upgrade procedure:

create or replace TRIGGER "XXXXDBA"."XXXX_AUDIT_LAST_LOGON"after logonon databasebegin--if SYS_CONTEXT('USERENV','SESSION_USER') not in ('SYS') then  merge into xxxxdba.last_user_logon ll

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center