Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle SELECT triggers
Not quite what you are after, but select statements can be audited in 9i,
though not using triggers. It's discussed on my site, Books, 9i New
Features. Look in Chapter 1 for a section on 'Fine Grained Auditing'.
Regards
HJR
-- ---------------------------------------------- Resources for Oracle: http://www.hjrdba.com =============================== "Greg Arpino" <greg.arpino_at_webloyalty.com> wrote in message news:d7a6a759.0202251456.1d98b9dd_at_posting.google.com...Received on Mon Feb 25 2002 - 17:45:03 CST
> Does anybody know if Oracle has any plans to provide triggers on
> SELECT statements?
>
> I have a table that requires auditing. In addition to the standard
> data that Oracle records with Oracle auditing, I want to record
> certain application context related information and information from
> v$session such as program and module.
>
> Since oracle does not provide SELECT triggers in 8.1.6, I created a
> security policy on the table that is based on a function the inserts
> the required data into a separate auditing table that I created. The
> function returns NULL as the predicate.
>
> I cannot think of any reason why this is a bad alternative to a SELECT
> trigger, but if anybody else knows of a good reason, the input would
> be greatly appreciated.
>
> Regards,
> Greg