Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to identiy tables without indexes
The most efficient method is probably a SET operation.
Select owner, table_name from dba_tables
minus
select owner, table_name from dba_indexes
;
--
Jonathan Lewis
Yet another Oracle-related web site: www.jlcomp.demon.co.uk
Sybrand Bakker wrote in message
<928342678.11201.0.pluto.d4ee154e_at_news.demon.nl>...
>Hi Soeren,
>
>Select table_name, owner from dba_tables t
>where not exists
>(select 'x' from dba_indexes i
> where i.owner = t.owner
> and i.table_name = t.table_name)
>
Received on Wed Jun 02 1999 - 14:07:00 CDT
![]() |
![]() |