Trigger to track connection in Oracle
This trigger is used to track the application when it connected and disconnected and record logintime when user login and what program he/she runs and what action performed. Code: CREATE TABLE con_audit ( logintime TIMESTAMP DEFAULT SYSTIMESTAMP, username VARCHAR2(30), program VARCHAR2(64), machine VARCHAR2(64), session_id NUMBER, action VARCHAR2(10) );-- Trigger to track connections CREATE OR…









