DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Drop Partition Problems

  1. #1
    Join Date
    Jan 2001
    Posts
    515

    Drop Partition Problems

    I have a problem dropping a partition. The partition is on a bad tablespace. The tablespace is missing a file. I just want to drop the tablespace (it has not data). I have to drop the partition first but it telling me I can't because I have a bad tablespace.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    offline drop the datafile then delete the tablespace including contents and datafiles

  3. #3
    Join Date
    Jan 2001
    Posts
    515

    Still Have Error

    SqlPlus>drop tablespace wtd_ts41 including contents and datafiles;
    drop tablespace wtd_ts41 including contents and datafiles
    *
    ERROR at line 1:
    ORA-14404: partitioned table contains partitions in a different tablespace

  4. #4
    Join Date
    Jan 2001
    Posts
    515

    Move Partition

    Is there a way to force a move partition?

    I am getting an error trying to move the partition to another tablespace.

    Once I do that I probably would be able to drop the tablespace.

  5. #5
    Join Date
    Jan 2001
    Posts
    515

    Exchange Partition

    I was able to solve my problem with Exchange Partition.

    I created a temp table with the data I needed in a new tablespace.

    Ran and exchange partition

    Dropped the temp table

    Dropped the bad tablespace

  6. #6
    Join Date
    Jun 2006
    Posts
    259
    Was recovery not an option?

    Good solution though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width