Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: database_properties is not a database dictionary view?
Daniel Morgan <damorgan_at_exesolutions.com> wrote in message news:<3EA17215.44790589_at_exesolutions.com>...
> charlie cs wrote:
>
> > We are using 9.2.0.2.0 on solaris.
> >
> > When I select from dict
> >
> > SQL> select table_name from dict where
> > upper(table_name)='DATABASE_PROPERTIES';
> >
> > no rows selected
> >
> > but the view is clearly there
> >
> > SQL> select count(*) from database_properties;
> >
> > COUNT(*)
> > ----------
> > 25
> >
> > Is this a bug or what?
> >
> > Thanks
>
> Try this:
>
> SELECT *
> FROM dict
> WHERE UPPER(table_name) LIKE 'D%';
>
> Daniel Morgan
Since it's not a table, but is a view, why would it be listed under a column labelled TABLE_NAME? This query, however, will work:
select view_name
from dba_views
where view_name like 'DA%';
08:56:46 DBTECH> / VIEW_NAME
![]() |
![]() |