![]() |
Audit Trail in Oracle
I would be doing this in a new user and so first you need to have the administrative priviledges to create new user. By default the Scott user does not have the priviledges and you need to login using the System user.
Create New User In Oracle Code: SQL
Code: SQL
Now create the tables Code: SQL
Update Trigger Code: SQL
Code: SQL
|
Re: Audit Trail in Oracle
Wonderful way to log table modifications. I wonder whether its possible to log the username which was used to do the modification, that would be really helpful.
|
Re: Audit Trail in Oracle
By just using the dual table you can get the details about the Meta data about the user like his username and log that.
|
Re: Audit Trail in Oracle
Is there any way you can audit a user by creating a procedure instead when audit_trail is disabled?
How can one write a procedure with username, logon_time and once there is a username already there when run by the second time, not be displayed only new users who logged on to Banner? Can you please advice/help me on this. Thank you |
Re: Audit Trail in Oracle
Quote:
|
Re: Audit Trail in Oracle
Hi!
Thanks for the info. I was wondering if there is a way to pass external parameters to the triggers you showed in example.This is because I would like these external parameters (example some application id ) to appear in the audit trail as well. Also if the above isn't possible , what other approach could I follow? Thanks; Labhesh. |
Re: Audit Trail in Oracle
The auditor held in main orecle all the form and feel its correct way,
|
| All times are GMT +5.5. The time now is 00:50. |