Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X$Tables or views

3 views
Skip to first unread message

arpege

unread,
Oct 3, 1997, 3:00:00 AM10/3/97
to

I recently connect as SYS and saw the dictionnary tables (undo$, fet$,
..) but I did not found the x$.. tables or views. Who owns them and is
there a way to list them all

Philippe (arp...@imaginet.fr)

Joe Kazimierczyk

unread,
Oct 3, 1997, 3:00:00 AM10/3/97
to

arpege wrote:

V$FIXED_TABLE shows you all x$ tables. I assume that SYS owns them, but
can't tell for sure.

_________________
Joe Kazimierczyk
kazi...@bms.com


Brian P. Mac Lean

unread,
Oct 4, 1997, 3:00:00 AM10/4/97
to arpege

arpege wrote:
>
> I recently connect as SYS and saw the dictionnary tables (undo$, fet$,
> ..) but I did not found the x$.. tables or views. Who owns them and is
> there a way to list them all
>
> Philippe (arp...@imaginet.fr)

Maybe this will do......

ttitle 'All Dynamic Tables And Views In The DB '
select name
from v$fixed_table
order by 1;

ttitle 'All DBA Tables In The DB'
col comments format a49
select dv.view_name, dtc.comments
from dba_tab_comments dtc, dba_views dv
where dv.view_name like 'DBA%'
and dv.owner = 'SYS'
and dv.view_name = dtc.table_name (+)
and dv.owner = dtc.owner (+)
order by 1;

--

Who needs friends when you can sit alone in your room and drink?

Ian Cary

unread,
Oct 6, 1997, 3:00:00 AM10/6/97
to arpege

The X$.. tables are fixed tables and can be identified by;

select * from v$fixed_table
where name like 'X$%'

Hope this helps,

Ian


0 new messages