Can you really delete tablespaces in offline/recovery 10gR2

Guru's,
I just migrated my 9.2.0.6 to 10.2.0.2 and in the process of moving my datafiles I messed up one of the names. I added the right datafile to the tablespace and the database started no problem. Now I have an extra datafile on the tablespace identified as offline needing recovery. I read that in 10gR2 you can delete datafiles from tablespaces so after mounting the database I ran -
SQL> alter database datafile '/data/ordata/prod/.dbf' offline drop;
Database altered.
SQL> alter database open;
Database altered.
When I select name from v$datafile it's still there. Am I missing something?
Thanks,
Kirk

http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/dfiles.htm#i1006556
You need to make the datafile online.
Restrictions for Dropping Datafiles
The following are restrictions for dropping datafiles and tempfiles:
The database must be open.
If a datafile is not empty, it cannot be dropped.
If you must remove a datafile that is not empty and that cannot be made empty by dropping schema objects, you must drop the tablespace that contains the datafile.
You cannot drop the first or only datafile in a tablespace.
This means that DROP DATAFILE cannot be used with a bigfile tablespace.
You cannot drop datafiles in a read-only tablespace.
You cannot drop datafiles in the SYSTEM tablespace.
If a datafile in a locally managed tablespace is offline, it cannot be dropped.

Similar Messages

  • Can you automatically delete anchor points when a new image is placed on top - so that it 'replaces'

    Hi all,
    I know that I can delete anchor points but I was wondering if there is a shortcut to do it on a larger scale.
    Can you automatically delete anchor points when a new image is placed on top - so that it 'replaces' the image, only on the parts obviously that you cover with the new one.
    Thank you all

    Hi,
    I'm using CS6, and I have a tree vector image, and I am trying to put names on top, but when I do this to keep it clean with no anchor points (as my other software cant read it with all the points in it) I have to manually delete each one but it deletes the whole path and I then end up with a tree, names on top, and a big gappy circle around the names.
    So really, I wanted to add the names on top, and have that delete all anchors underneath .
    Does this make sense? :S

  • HT201317 can you recover deleted photos in iCloud?

    Can you recover deleted photos in iCloud?

    If you mean photos removed from photo stream, unfortunately no.  If you mean photos deleted from your camera roll, they are supposed to be included in your iCloud backup (although unfortunately not all users report success in getting them back).  If you made a backup while these photos were still in your camera roll, you may get them back by restoring this backup to your phone.  (Note, restoring a backup will revert all settings and data on your phone to those contained in the backup, not just photos.)

  • I had Iphoto 08 and now is gone, I have under applications and is not there. Also most of the pictures are gone. Can you easily delete the application?

    I had Iphoto 08 and now is gone, I have looked under applications and is not there. Also most of the pictures are gone. Can you easily delete the application?

    Obviously you can.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List.

  • Can you please delete my last question

    Can you please delete my last question re: iCal in the iCal forums? Thanks. I would like to write it more calmly. Also, please advise how I can change an alias. I do not see a place in "Edit My Settings."

    If you look at the announcement at the top of this topic, you will see one referring to changing your alias.

  • HT5824 How can you permanently delete books from Ibooks

    How can you permanently delete books from IBooks?

    You cant permanently delete them, but you can hide them.
    Pop into iTunes, and in the iTunes Store under Quick Links along the right hand side, you can see Purchases, and then sign in, look at your books and click on the X in the top left and it will hide them so you dont have to see them.
    Hope this helps.

  • Hi iCloud.   Please can you kindly delete

    Hi iCloud.
    Please can you kindly delete ** @icloud.com from my Apple ID ** @gmail.com, I gave my ID to John my friend, when he was having difficulties passing the credit card setup step, and he created an iCloud email with my ID, I'm Osita Egeonu and I want an icloud email on my name to be associated with my Apple ID not that of my friend, I can create one if ** @icloud.com is deleted from my apple account.
    <Email Edited by Host>

    The @icloud.com address created when an iCloud account is created cannot be changed. You will need to get a new Apple ID and use it to open a new iCloud account.

  • How can we really delete all artifacts in workspace 9.3.1.?

    Is there a way to really delete all artifacts (all published oce's, bqy's, docs, WA reports, folders, subfolders, etc) from workspace 9.3.1?
    I noticed that deleting a folder does not remove the subfolders and docs from workspace but just makes it invisible. They still exist in the database. If you are able to recreate the sqame folder again (and with alcm you can) the artifact which were invisible are back again.
    Because of this "bug" but also after multiple ALCM imports our testenvironment seems to have problems whic I like to solve by deleting all content and reimporting them with ALCM from file export from production.
    Detlev

    Oracle "advises" to use the Interactive reporting JDK. Using the categorydelete program sample.
    Well as this is fairly new to me I ask some advise from you experts :-)
    I've been reading most parts of the developersguide now.
    As far as I see I have to edit/ create a /cf file when I want to run a batch driver program.
    I am able to run the program (at least it does not complain obout java or other errors anymore. But the batch_file.cf is not yet ready to do what I like to do.
    Any one got a sample to run a recursive deletion of all content?
    Hope to read from you.
    Detlev

  • Question? Can you safely delete huge media cache files?

    Dear Experts:
    In working with PRE7 I found that almost all of my disc space was contained in my media cache folder and it was clogging up all my work. What is that file and can it be deleted without causing harm or losing work?
    Tom

    Tom,
    This can depend a bit. If you have done any Rendering, those Render files can be safely eliminated. As mentioned above, the .CFA's and PEK files can also be eliminated (will be regenerated, if needed).
    For housekeeping, I place all Scratch Disk files in the Project's folder hierarchy. This keeps everything together and below the Project's root folder. When I am done, I will just Delete everything in that Project. In my case, ALL Imported Assets are ONLY copies. I never work with originals, which are safely stored elsewhere. Basically, one click takes care of the cleanup.
    If I am not sure that I am done forever with the Project, I will first use the Archiver (Project Manager in PrPro), and locate the "archived" Project on an external HDD for storage. I will archive ALL aspects, except for the Render files, including the .CFA's and .PEK's, just to save time, should I need to revisit that Project.
    There are other files, that are possibly in the Project's root folder, such as when you Burn to Folder. You will then have the VIDEO_TS folder, with the necessary DVD-Video files. Once you have successfully burned that folder to DVD-Video, the VIDEO_TS (and all files), can safely be Deleted.
    Hope that this helps,
    Hunt
    PS - UNTIL I am 100% certain, that I am done, I do not Move, Rename or Delete anything. When done, I often use the above mentioned Archiver, and then do major clean up.

  • HT4528 how can you recover deleted photos from the iPhone hard drive?

    Is there anyway possible i can recover my deleted photos from my iphone hard drive for free?

    You can't for two reasons: First, the iPhone doesn't have a hard drive. Second, there is no Trash folder, so once something is deleted it is gone forever. If you were foresighted enough to sync your phone regularly the photos should still be in the app you used for managing photos from digital cameras on your computer, and they are also in the iPhone backup on your computer. If you enabled Photo Stream they are also in iCloud. But if you didn't take advantage of any of these backup options you are out of luck.

  • New User question re BlackBerry Link and Z10 -- can you really reach the computer from the Z10 remotely - how remote?

    I am slowly getting there re use and exploring this and that.  Now, I want to know can I really reach my laptop which has BlackBerry Link on it, and my Z10 has all been set up to it, etc., remotely?  I know it can within the same household network, but what about from another network?  Surely it can't do that.  Sorry about the dumb question.
    I have unclicked  the connection for the time being as I don't want to lose the phone and have someone grabbing my computer stuff!

    Hi janetnewuser,
    Any BlackBerry smartphone accessing your computer would be required to be using the same BlackBerry ID you are signed into BlackBerry Link with. You can access files over any Wi-Fi or the mobile network. Your PC must be powered on with BlackBerry Link running for you to access files on it.
    This article should provide more information on the security of this feature. "About the security for the BlackBerry Remote File Access feature in BlackBerry Link" http://blackberry.com/btsc/KB34573
    You may also find some of the BlackBerry 10 security tips in this blog post useful for securing your information. http://helpblog.blackberry.com/2013/04/five-tip-fr​iday-blackberry-10-security-tips/
    Let me know if that helps.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Can you really update two tables in one SQL statement

    Ok a post in the forum has got me awefully curious:
    Can you update two tables in one update statement i.e something like this
    update table a , b
    set b.<column> = something
    a.<column> = something
    Something to this effect.
    If you are curious to know what post I am talking about it is called "updating a single row"

    No. You can only update one table in one SQL statement.

  • Can you retrieve deleted photos from an iPhone?

    I uploaded all my photos from my iPhone onto my Macbook Pro and then deleted them from my phone. My Macbook has since crashed and I had to restore it from a past backup which did not have my photos from my phone. Is there any way to retrieve my deleted photos from my iPhone??
    Thanks

    If you explicitly deleted them, they are not recoverable with normal user tools. However, some specialized forensics outfits may be able to do their magic and retrieve them for a [steep] price. They usually work for law enforcement but may offer their services to civilians.

  • Can you permanently delete a movie

    How do you permanently delete a movie from your iPad ..I deleted it but still in my library incase I change my mind but I want it to be removed permanently

    The videos are no longer on your iPad; it only show your purchase history.
    Settings>General>Usage>Storage>Video>No Data (videos not taking any space on iPad)

  • HT3529 can you retrieve deleted text messages

    Is there a way to recover deleted text messages

    (I know this is a somewhat old thread, but someone may stumble on it if they're in a similar situation!)
    It really all depends, unfortunately. When the messages are deleted, the database storing them marks it as "deleted" but doesn't actually destroy the information fully. Eventually the database will recompact the space, rearrange, and reuse, but until then the message could be found.
    With that said, from my own experience, sometimes the much older messages are the ones that happen to stick around, and the newer ones get overwritten first. It all just depends on how the space in the file gets compacted and reused I'd say it's worth a try to look.
    I am the main developer for Decipher TextMessage, which has a feature to recover deleted text messages from the iPhone backup files. The nice thing is that the software will scan for your iTunes backups of your phones (perhaps finding the message in an older backup before it was deleted!), show you all of the regular not-deleted messages, and then you can press the recover button to look for deleted information. I usually recommend running the program once to see what older information you have (always better to get the original not-deleted version when possible) and then make a new backup and run Decipher TextMessage again.
    I hope this helps someone out! If you want to send us some more questions directly, you can do so from our website http://deciphertools.com
    (Disclaimer: Clearly since I work for Decipher Media, the links I have made above to deciphertools.com may benefit me in the future.)

Maybe you are looking for

  • Subreports showing blank prompt after SP3 upgrade

    We recently applied SP3 to our Business Object software and now any BW based subreports are displaying blank Prompt screen when we try to run the Queries individually. The report works fine if we use the "Refresh All" option instead of the Single rep

  • How can I sync 2 iPhones to 1 user account on an iMac via iCloud?

    My wife and I share one user account on our iMac. In the past when have had seperate user accounts but we usually would just use whichever one was logged on and then get frustrated when we had to switch over to retieve a certian file. Now that we bot

  • Error while posting sales f-22

    Error while posting sales F-22 Cost center 1000/150020 is Blocked againest revenue postings on 03.11.2008

  • Need full resolution HDMI audio and 2 CH optical simultaneously

    Am working on an install for a customer who has a Mac Mini.  He is running XBMC for all his movies.  I need to run HDMI to his surround processor with full resolution audio while running the optical out in 2 channel pcm for his whole house audio.  Is

  • Transfer ITunes to MAC from PC

    Just got a new IMac and I want to move my itunes file from my PC to the Mac so I can synch my Iphone with it.  What is the best method?  I use Lion version 10.7.  Thanks.