Database Administration (MOSC)

MOSC Banner

How to audit select query results?

edited Dec 7, 2016 1:33PM in Database Administration (MOSC) 8 commentsAnswered ✓

Hi,

I need to setup auditing (or logging) for RESULTS of queries that are run by certain users against certain tables.

For example, when they run some select statement against "patients" table I need to log all PatientID that were selected from this table. So if there were 100 records selected, there should be 100 "audit" records with patientID logged. Is this possible?

Fine-grained auditing will result in one audit record with the text of the select statement. But how can I audit the actual result of a select query? It seems to me that it should be "select for each row" trigger for this that does not exist.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center