I think slothfur asking last sql statement(dml) executed in the database.
slothfur,
If it's correct then try to use logminer, If you add the current
log file and if you select based on date, Then you may able to get
last sql statement informaiton.
If you are intrested on logminer then let me know, I can help you some more.
select a.address,a.PIECE,a.sql_text ,b.logon_time from v$sqltext a,v$session b
where b.sql_address=a.ADDRESS
and trunc(logon_time) =trunc(sysdate)
order by a.address,a.PIECE ,b.logon_time
Bookmarks