not able to drop table space (merged) [message #399295] |
Tue, 21 April 2009 08:34 |
panyam
Messages: 146 Registered: May 2008
|
Senior Member |
|
|
Hi all,
below is the needed info.
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> drop tablespace PART2 including contents;
drop tablespace PART2 including contents
*
ERROR at line 1:
ORA-14404: partitioned table contains partitions in a different tablespace
SQL> ed
Wrote file afiedt.buf
1 select table_name,partition_name,tablespace_name,'TABLE' as object_type from dba_tab_partitions
2 where tablespace_name = '&tablespace'
3 union all
4 select index_name,partition_name,tablespace_name,'INDEX' from dba_ind_partitions
5 where tablespace_name = '&tablespace'
6* order by 1
SQL> /
Enter value for tablespace: PART2
old 2: where tablespace_name = '&tablespace'
new 2: where tablespace_name = 'PART2'
Enter value for tablespace: PART2
old 5: where tablespace_name = '&tablespace'
new 5: where tablespace_name = 'PART2'
TABLE_NAME
----------------------------------------------------------------------------------------------------
PARTITION_NAME TABLESPACE_NAME OBJEC
------------------------------ ------------------------------ -----
INTERVAL_PART
FF PART2 TABLE
SQL> select * from INTERVAL_PART;
select * from INTERVAL_PART
*
ERROR at line 1:
ORA-00942: table or view does not exist
how can i drop the table space now ?..
|
|
|
|
|
|