Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Get all table names in a database
Sorry to correct you, but all_objects will only provide the objects to which
the current user has access via grants.
If you truly want to see ALL tables (and only tables), access a DBA privileged account such as "system" and issue the following query:
select table_name from sys.dba_tables;
Cdr628 <cdr628_at_aol.com> wrote in message
news:20000114212935.18704.00000448_at_ng-fb1.aol.com...
> select owner, object_name, object_type
> from
> all_objects
> where
> object_type in ('TABLE', 'SYNONYM', 'VIEW')
> order by
> owner, object_name
Received on Mon Jan 17 2000 - 16:41:05 CST
![]() |
![]() |