Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trigger on logoff trouble

741904Mar 3 2010 — edited Mar 3 2010
Hi to all,

I'd like to try setting a trigger on logoff event. But when I logoff either from the terminal and from the APEX's web igu admin nothing's added into the target table.

Any clue?
Thank.
Claude
------------------------------------------
The trigger code:
===========
CREATE OR REPLACE TRIGGER TrigLog
BEFORE LOGOFF ON CLASIE.SCHEMA
BEGIN
INSERT INTO TTRIG VALUES('Test');
END;

the table:
======
create table ttrig (message VARCHAR2(100));

No errors showned when creating both db objets.

My system:

Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2010
Added on Mar 3 2010
7 comments
683 views