Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Why I don't use all_tab_columns

Re: Why I don't use all_tab_columns

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 9 Jan 2003 05:34:18 -0800
Message-ID: <2687bb95.0301090534.4526e22c@posting.google.com>


Markus Boehmer <markus.boehmer_at_schaefer-shop.de> wrote in message news:<avj95j$pne$1_at_news.dtag.de>...
> Here we go,
>
> I tried to use all_tab_columns but it hasn't worked.
>
> "SELECT DISTINCT OWNER FROM ALL_TAB_COLUMNS" returns only nine
> owners.
> If doing the same as dba I get 49 owners in return.
> Am I missing some rights?
>
> Any further suggestions are welcome.
>
> Greetings
> Markus

The ALL_ versions of the Oracle rdbms dictionary views are user rights dependent. You can see all the table_name you have select privilege on.

As a DBA privileged user the results should be the same queries against all_tables and dba_tables:

UT1> select count(*) from all_tables;

  COUNT(*)


      1856

UT1> select count(*) from dba_tables;

  COUNT(*)


      1856

HTH -- Mark D Powell -- Received on Thu Jan 09 2003 - 07:34:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US