-
This is probably pretty basic, but it defies me.
I want to write a script which selects the segment ID of the active rollback segment based on:
select usn from v$rollstat where xacts >0
and then pass the result on to the following query:
select * from dba_rollback_segs where segment_id = (result from above query).
What are my options here?
Many thanks in advance.
Johnny D.
-
select * from dba_rollback_segs where segment_id in (select usn from v$rollstat where xacts >0 )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|