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: distinct(object_type) from dba_objects in SQL

Re: distinct(object_type) from dba_objects in SQL

From: <mnma_at_my-deja.com>
Date: Thu, 09 Dec 1999 23:58:13 GMT
Message-ID: <82pfmj$rde$1@nnrp1.deja.com>


How about this you dope

> select OWNER, OBJECT_TYPE, count(OBJECT_NAME)
 from DBA_OBJECTS
 where OWNER NOT IN ('SYS','SYSTEM','DB_SNMP','PUBLIC','DBSNMP')  group by OWNER, OBJECT_TYPE
 order by 1 asc, 2 asc

Mike

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Dec 09 1999 - 17:58:13 CST

Original text of this message

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