Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sql help
Try this simple script
set pagesize 66 linesize 132 verify off
select tablespace_name Tablespace ,segment_type Object_type ,segment_name
Object
from user_extents
order by tablespace_name,segment_type;
-----Message d'origine-----
De : kommareddy sreenivasa [mailto:kommacnu_at_yahoo.com]
Envoyé : samedi 21 juillet 2001 15:45
À : Multiple recipients of list ORACLE-L
Objet : sql help
hi dba's
how to find out a users all objects+the tablespaces in which they reside.
i tried using the flwng way:
select tablespacename,table_name from dba_tables
where obj in (select obj_nm from dba_objects where
obj_type ='table' and owner='xyz')
union
select for indexes
union
select for clusters
;
can anybody tell me any alternative statement for the above.
thnx in adv.
srinivas
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: kommareddy sreenivasa INET: kommacnu_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Sun Jul 22 2001 - 04:05:12 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: GL2Z/ INF DBA BENLATRECHE INET: kbenlatreche_at_lth.sonatrach.dz Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |