Re: system trigger question
- From: "fitzjarrell@xxxxxxx" <fitzjarrell@xxxxxxx>
- Date: 18 Apr 2006 17:50:19 -0700
stevedhow...@xxxxxxxxx wrote:
What is _system_trig_enabled set to?
SELECT a.ksppinm || ' '|| b.ksppstvl || ' ' || c.ksppstvl
FROM x$ksppi a,
x$ksppcv b,
x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm like '%system_trig%'
/
Regards,
Steve
The problem isn't with _system_trig_enabled, it's with the original
code as I've noted. The first trigger is missing:
end;
/
so it isn't recognised as a completed PL/SQL trigger. The second
trigger selects non-existent columns from V$SESSION
(last_program,last_module), thus it fails and no records are found in
stats$user_log. Unfortunately Oracle has no apparent sanity check on
selects in system triggers so the original code for the second trigger
compiles error-free. Only when the trigger is fired and no updates
appear does the issue surface.
David Fitzjarrell
.
- References:
- system trigger question
- From: epipko
- Re: system trigger question
- From: epipko
- Re: system trigger question
- From: stevedhoward
- system trigger question
- Prev by Date: Re: system trigger question
- Next by Date: Re: select value within an interval
- Previous by thread: Re: system trigger question
- Next by thread: Re: system trigger question
- Index(es):
Relevant Pages
|