Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> before logoff trigger
Hey,
I wish to create a trigger that will remove temporary tables from my database when a user exits. I have written a trigger ON_LOGOFF to do just that. Works fine so long as the trigger is created by the individual user; however, I wish for this to fire everytime a user ends his session.. Is the following correct? Who must create the trigger?
Cheers,
Ian.
CREATE OR REPLACE TRIGGER On_Logoff
BEFORE LOGOFF ON database
![]() |
![]() |