Home » RDBMS Server » Server Utilities » What is the tablespace for xxx_tab
What is the tablespace for xxx_tab [message #72715] Wed, 01 October 2003 05:40 Go to next message
kjl
Messages: 48
Registered: June 2003
Member
Hi,

How can I find the what is the tablespace for
specific table? So, I want to know all the tables
which are in one tablespace.

Thx for any advice, Karri
Re: What is the tablespace for xxx_tab [message #72716 is a reply to message #72715] Wed, 01 October 2003 06:27 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
mag@mutation_mutation > select tablespace_name from user_tables where table_name='EMP';

TABLESPACE_NAME
------------------------------
SYSTEM

mag@mutation_mutation > select table_name from dba_tables where tablespace_name='USERS';

TABLE_NAME
------------------------------
A
S
E
TEST23
TEST11
REPOSITORY
DUM_DEPT
B
H
I
PLAN_TABLE
EMP
DEPT
SALGRADE
BONUS
ANOTHER_DEPT
T1
T2
TEST
EMP
DEPT
BONUS
SALGRADE

23 rows selected.

Re: What is the tablespace for xxx_tab [message #72720 is a reply to message #72715] Thu, 02 October 2003 16:15 Go to previous message
Manish
Messages: 79
Registered: December 2000
Member
select owner||'.'||table_name from dba_tables
where tablespace_name ='XXXX'
Previous Topic: sqlldr problems please help
Next Topic: Data recover from crashed system
Goto Forum:
  


Current Time: Fri Jun 28 22:29:15 CDT 2024