After Logon Trigger Not Firing
I am on Oracle 9.2. My actual goal is to trace certain SCHEMA.
In the script below, both insert and execute immediate do not work, independently or together. The Schema name is TEST.
Am I missing something? Test has DBA Privs. Also there is some thing more that is happening. When I put any line in the trigger (any valid line at all) except NULL, I get a trace file for about 700 bytes. But further actions in the same session are not getting recorded in the Trace File.
CREATE OR REPLACE TRIGGER TEST.TEST_TRIGGER
EXECUTE IMMEDIATE 'ALTER SESSION SET SQL_TRACE=TRUE';
INSERT INTO testtab VALUES (1010);