Created
October 28, 2013 02:16
-
-
Save kelvinewilliams/7190424 to your computer and use it in GitHub Desktop.
Uncomitted Transactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create view uncommitted_transactions as | |
select t.start_time,s.sid,s.serial#,s.username,s.status,s.schemaname, | |
s.osuser,s.process,s.machine,s.terminal,s.program,s.module,to_char(s.logon_time,'DD/MON/YY HH24:MI:SS') logon_time | |
from v$transaction t, v$session s | |
where s.saddr = t.ses_addr | |
order by start_time; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment