User 7b0ee04e66
16-08-2012 13:10:01
Good afternoon
Someone has accidently deleted more data than expected from the IJC database. I can't remove the 'delete' privilege on the table, as they will occasionnally need to delete data
I would like to implement an 'audit trigger' (see example below) on the Oracle table, when a row is being deleted
http://www.techonthenet.com/oracle/triggers/before_delete.php
I can find out who is currently logged in to IJC using
select
usernamefrom
LAB_CHEM.IJC_USERwhere
login_time is not null;
But if several users are connected at the same time, is there a way to find out where the delete command has been issued from ?
Thanks
Catherine