If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how can drop the tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-11-10, 07:21
yyt030 yyt030 is offline
Registered User
 
Join Date: Apr 2010
Location: USA
Posts: 10
how can drop the tablespace

There is a error while drop the tablespace
some tables on one tablespace , tablespace container was deleted ,its status is "off line"
i drop the tabalespace but occured the error code
SQL0282N Table space "TEST_DAT_TS" cannot be dropped because at least one of
the tables in it, "DB2INST2.TEST", has one or more of its parts in another
table space. SQLSTATE=55024
Reply With Quote
  #2 (permalink)  
Old 07-11-10, 07:49
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Some tables have indexes and/or LOBs stored in another tablespace. So, you have to drop all related tablespaces using a single "drop tablespaces" statement.
Example: db2 "drop tablespaces (x,y,z)"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On