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

Thread: How do I delete a tablespace

  1. #1
    Join Date
    Sep 2004
    Posts
    54

    How do I delete a tablespace

    I have deleted a datafile and I don't have backup.

    I also want to delete that tablespace, How do I delete that tablespace without a datafile.

    when issue a command DROP TABLESPACE XXXX INCUDING CONTENTS. it gives an error that I can't find datafile.

    Is they any way I recreate that datafile?

    Please advice.

    Thanks in advance.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    you need to offline drop that datafile, then drop the tablespace

    and no you cant recreate things, your data is gone

  3. #3
    Join Date
    Sep 2004
    Posts
    54
    I found the answer:

    ALTER DATABASE DATAFILE 'data file location' OFFLINE DROP;

    DROP TABLESPACE XXX.

    It works. Thanks

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