Delete from dba_objects

My database version is Oracle 10.1.0.2.0.
I logon as a ABC schema and by mistake I ran @catproc.script.
Now its created so many unwanted objects under that Schema (abc).
Now I wanted to delete all unwanted objects from abc schema.
Most of the unwanted objects starts from DBMS.
I can delete manually one by one from dbconsole.
But it takes long time (almost 200 objects need to delete).
My question if I delete from dba_objects as below.
will it delete all objects under abc schema starts with DBMS?
Is it correct way to do it?
delete from dba_objects
where owner = 'ABC' and OBJECT_TYPE ='PACKAGE'
and object_name like 'DBMS%';

There are probably objects created under the ABC schema that do not start with DBMS. To ensure that you get all objects created by catproc.sql, you could do something like:
SELECT 'DROP ABC.'||object_type||' '||object_name||';'
FROM (SELECT object_name, object_type
      FROM dba_objects
      WHERE owner = 'ABC'
      INTERSECT
      SELECT object_name, object_type
      FROM dba_objects
      WHERE owner = 'SYS')
WHERE object_type NOT IN ('PACKAGE BODY', 'TRIGGER', 'INDEX', 'LOB')As with all scripts generated from the data dictionary, check it carefully before you actually run it.
Been there done this
John

Similar Messages

  • Error while deleting from BIA index

    HI EXPERTS GETTING BELOW ERROR PLZ GIVE CLARITY ON THIS:
         1.A communication error occured, with the TREX TcpIp     
         2.Error while deleting from BIA index; reconstruction required     
    THANKS &REGARDS,
    rAMESH,

    Dear Ramesh,
    Please check the connection with BIA. Please ask the Basis team to check the BW to BIA connection if they maintain it.
    YOu can go to rsddbiamon2 and check BIA connection availibility for more details.
    If that is right please try redoing the step at which you faced error and it should help.
    Please close the question if you have got the answer or solved it.
    Regards,
    Den

  • Voice memos do not delete from iPhone...

    How do I delete the voice memos that are stored on my iPhone 4, and are no longer on my MacBook Pro?
    My voice memos folder on my MacBook Pro was over 4 Gb, so I copied its contents to an external hard drive. I left the folder and deleted the voice memos from it. I then synchronized with my iPhone 4, with the hopes that those voice memos would delete from the phone. Unfortunately, they did not.  iTunes 11 only shows 4 voice memos, and the iPhone has all of them.
    If I control + click on any of the voice memos on my iPhone while looking at them in iTunes, those memos will still play. iTunes 11 does not show an option to delete these voice memos via option + click.
    I am running Mac OS 10.9.1, and IOS 7. Thank you for your advice.

    Nope, won't do it.  If I gently swipe right to left, it jumps to other songs randomly.  It has stopped playing the song as it did before I rebooted the phone.
    I'm familiar with the swipe process, as I can do it successfully with texts, reminders, and so forth.
    Now as I look through my artists, I see perhaps 10% of them are dupes, and none will delete.  And in all cases one of the songs will have an I-Cloud icon, while the other does not.
    Please explain to me why any of my 300 songs in I-Phone (out of 1900 in I-Tunes) should be coming down from the Cloud?  All of them were uploaded from I-Tunes; none were purchased from the I-Phone.
    Thanks, Jim!
    Peter

  • IMAP option to not delete from server OR recommend alternate mail app?

    Using POP in Windows computer and IMAP on iphone.
    In the iphone, POP has the opton to "delete from server: never"
    There seems no way to accomplish this in the stock mail app when using IMAP ?
    Using POP on the iphone is not an option due to the longstanding issue of the Apple mail apps not sending a  proper termination signal back. The mailbox remains locked until the server times it out for inactivity and cleans up the stale lock after 10 minutes. The result is "wrong password" on the computer if it then tries to retrieve during that period. It's a feature of POP by design to use a lock to prevent corruption caused by simultaneous access to the mailbox. BUT, BB,Android,Windows all handle this correctly so that their POP transaction (and the mailbox lock) only lasts seconds! Only ever see this persistent lock with Apple mail clients
    The user likes to keep his phone inbox clean, he will delete messages as he deals with them as well as messages he is postponing to deal with on computer later.
    Moving messages to a 'later' folder won't help, as that 'later' folder will not be available thru POP (for the computer)
    They also don't want to use IMAP on the computer because they don't want their communications stored on the server any longer than necessary.
    Can anyone recommend:
    - Windows IMAP client which downloads all and keeps a local copy of inbox which does not synch with server inbox.
    - Alternate mail app for iphone which allows "delete from device only // never delete from server "

    That's not how IMAP works. If you want to keep the inbox clean, but not delete the messages, create folders and move the messages into them for later review.

  • ITunes store says app is 'downloaded'. It's been accidentally deleted from my mac, so iTunes can't find it. How do I redownload it?

    Due to changing backup disks, some apps were deleted from my mac. iTunes says it can't find them, but when I look for them on the App Store, the button says 'downloaded', and there's nowhere to click to re-download them. Where do I go from here?

    Hey NeilJones,
    Thanks for the question. You’ll want to delete the app from your computer (even though technically it cannot be found). Once deleted from iTunes, you can return to your purchase history and re-download it:
    How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
    http://support.apple.com/kb/HT5772
    Mac or PC
    Open iTunes.
    From the Library pop-up menu, choose Apps.
    Click the app you want to delete.
    Press Delete on your keyboard.
    Download past purchases
    http://support.apple.com/kb/ht2519
    Thanks,
    Matt M.

  • Trash will not delete from trash folder! What can cause this effect?

    Trash will not delete from trash folder! What can cause this effect?

    u can actually force it to delete, oviously i assume you dont have the application or data etc open neware else?
    try restarting your computer, go into finder close all your open applications etc, servers, **** even clear your data in your web browser, do a disk utility check and verify your drives and repair em if nessicary.
    as chamar suggested look at http://www.thexlab.com/faqs/trash.html
    i had the same problem before but with a good 5-10 minutes of googling i was able to solve it..
    best of luck

  • After updating my iphone 5 of ios 7, I delete or trash my emails rorm my inbox and they pop back up in my inbox.  How do I fix this?  They are deleted from the main server but show up in my email on my phone and will not stay deleted.

    I recently updated my iphone 5 to IOS 7 and since doing this, i cannot get my email messages to stay deleted when I trash them.  They have been deleted from the main mail server but show up on my phone.  When I trash them, they disappear for a few seconds and then re-appear in the inbox. I tried deleted my mail account from my phone and re-adding it, but this worked for about 12 hours and now its doing it again. I also have shut my phone off and rebooted it but this did not work.  How do I fix this?

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    Also consider deleting and reinstalling the Mail Account in question.

  • My iPad is double downloading iTunes TV series shows and when I delete, the extra show does not delete from the available memory.  I have lost almost 30GB of my 64 to this phantom shows.

    I am losing available memory on my iPad (64 GB 3rd gen) and it appears to lose memory because some TV shows that I have downloaded from iTunes are appearing twice in my downloads.  Both download, but when Only appear as 1 show on my "videos".  After viewing the show, I delete, but the duplicate show appears to be still there somewhere (not visible anywhere) taking up the same amount of memory that showed before downloading.  It reduces my available memory to download other shows.  The general settings do not show any of these phantom shows taking any memory, but the total available is much, much less than what is showing for all usage such as music, videos, photos, apps, etc
    Is it possible to delete a show from the download portion of iTunes if you have already seen a show and do not want to waste time or memory downloading again?  The only way that I know is to let it download completely and the delete from "Videos".

    John0618. Did you ever get a response or solution to problem?  I have the same problem (starting about three months ago). 

  • There are songs on my icloud that I deleted from my itunes, but still show up on icloud. I want to delete them from icloud, but can't since they don't appear in my itunes!

    I have a large library on icloud- 26203 songs is the count when I'm playing over my apple TV, but my itunes only shows 25989 songs. There are songs on icloud that no longer are in my itunes library, or show up in itunes as being on icloud. I want to delete these songs but can't figure out how. I have reset my itunes match on both my computer and my apple tv to no avail.

    No. It's on and I update it daily.
    When I talk about removing songs from my shuffle play, I'm referring to listening over apple TV. My cloud limit is nearly maxed out, so I am constantly removing/adding songs. That's why I was surprised when I went to delete a song I no longer wanted in the mix and was surprised to find it already deleted from my itunes, but still present in the cloud. I've signed in and out of itunes/and match on apple tv as well, but that didn't remove the tunes in question!

  • Why are emails I deleted from another computer still showing up in my iPad inboxes.

    This is just plain annoying. Every time I pick up my iPad, I have to delete dozens of emails I already deleted from my mailboxes (I have multiple accounts ... yahoo gmail hotmail etc.) I looked for a setting that would fix this, but nothing I'm finding seems to resolve this particular issue. How can I sync my iPad email accounts so they are current, and don't require me to delete messages I already deleted from my phone or work laptop or home desktop?

    What you're describing occurs when your email provider uses POP rather than IMAP as your email protocol. Are you familiar with the difference? Most webmail providers use IMAP, which is set up for syncing across multiple devices, just the way you want. It sounds as if one or more of your providers is still using POP, the older standard.
    I personally like POP, since it lets me choose whether to deal with emails on my iPad or defer them until I'm next on my Mac, but it's a personal preference. Switch to IMAP-only email, and you should be all set.

  • Photos deleted from iPhoto, but still in Library folder

    iPhoto 9.5.1
    Strange behavior in iPhoto : let's say I imported 100 photos. Then, in iPhoto, deleted 80, keeping 20. Emptied trash in iPhoto. Then emptied Trash in Finder.
    Let's say the "_DSC1234.JPG" photo was among deleted files. When searching "_DSC1234.JPG" in Spotlight, I find it in the "Master" folder of the "iPhoto Library" folder (Photothèque in French).
    I've got a lot of photos deleted, but kept in Library, Not good for privacy, not good for hard drive space.
    For exemple, I find 514 ".NEF" photos in the iPhoto searchbox. But when searching in the iPhoto LIbrary folder with Spotlight for files with ".NEF" in their names, I find 1048 ! No duplicates, no previews or "faces" (hey are in JPEG), but photos I deleted, before emptying iPhoto and Finder trash !!
    Rebuilding Library didn't help.
    I'm using a user account not allowed to administrate the computer. Maybe a link ?
    The question was already asked, but never answered :
    Growing iPhoto Library, deleted photos still in folders
    Deleted Photos:  Why are they still in my iphoto library folder?
    Photos deleted from within iPhoto are still in Library folder
    Thanks for your help !

    Strange behavior again, with the original library : If I select NO event and use the menu Information, I've got 14.634 photos. If I select all events, I've got 15.760 photos. How can I have more photos in all events than in my Library ??????
    Check, if you have hidden photos.
    File > New Smart Album,  with a rule: Photo is hidden
    In my iPhoto Library the "Hidden" flag accounts for the difference in the Photos count between selecting all events and no events.
    Make sure, "View > Hidden Photos" is enabled in the View menu, so you can recognize hidden photos by the X.

  • Memory/Speed of Split 1D array vs Delete from array

    Just wondering how Split 1D array works - does it create two new arrays in a new section of memory or does it just split the existing array in two, reusing the memory in place. (assuming that the original array is not needed elsewhere). If the latter is the case then presumably it is more efficient to use split array than delete from array if I want to remove element(s) from the beginning or end of the array. Is there a speed advantage as well?
    If I use split array but don't then use one of the output arrays is that memory deallocated or does the array remain in memory?
    Thanks
    Dave

    Ok please ignore the results I posted earlier, they are rubbish - not least because I got the column headings mixed up but also because my code was full of bugs
    So, here is a revised table, and the code - which hopefully only contains a few bugs... I'm not clued into benchmarking yet so please feel free to rip the code apart.
    I still get different results depending on where in the array I split it, most noticeably with subset and reshape. There is no effect with split. I'm guessing this is to do with the memory allocation. (I have not preallocated memory in my code, but I did wire the output arrays to Index Array)
    Message Edited by DavidU on 08-12-2008 04:49 PM
    Attachments:
    Benchmarks 2.png ‏13 KB
    split array test.vi ‏25 KB

  • All Values Deleted from Target System when transporting new values added

    Hi,
    Wasn't really sure where to put this question.
    I created a maintenance view between two Z tables. A main key table and a text table.
    I added the new values to the maintenance view and transported successfully.
    I then had a request to create 3 more values.
    I added these three and transported these to the target QA system.
    However when the transport completed, all entries bar one had been deleted from the Z table but the Z text table had all existing entries plus the three new ones.
    I've tried manually creating a transport and adding all 10 entries but this has the same problems.
    If I SCC1 the entry from one dev client to another it works fine.
    Has anyone come across this problem befor and know how to resolve it?
    Many Thanks
    David

    Yes, I managed to sort it.
    This is what I did:
    I created a new blank transport.
    For the task created under the transport I then opened the task object list.
    I then added two entries in this list. i.e. one for each table that was in the view.
    My entries where:
    Entry 1:
    Program ID: R3TR
    Object Type: TABU
    Object Name: ZNR_REASON
    Then click on the key icon and add:
    Table Name: ZNR_REASON
    Table Keys: 200* (NOTE 200 is our development client). The '*' is needed to that ALL entries are included in the transport.
    Entry 2:
    Program ID: R3TR
    Object Type: TABU
    Object Name: ZNR_REASONT
    Then click on the key icon and add:
    Table Name: ZNR_REASONT
    Table Keys: 200* (As above 200 is our development client). Again the '*' is needed to that ALL entries are included in the transport.
    I hope this helps.
    Regards
    David

  • Deleted contacts from my phone & they auto deleted from other phone. How do I get them back?

    Just updated my iPhone 4 and my GF's iPhone 4 to the new OS, we share the same Apple ID and subsequently linked both phones to the same iCloud account (I will be using separate clouds from this point forward). However, after the update all of her contacts where in my phone so I deleted all of them and due to the cloud they all deleted from her phone.
    So, I have previously backed up (not just synched) her phone to iTunes but I was hoping for clarification on exactly to restore her phone from iTunes and recover all of her contacts. Can you please give me the “dummy” proof steps on how to restore her phone and get her contacts back? Please and thank you in advance.

    Welcome to the Apple Community.
    http://support.apple.com/kb/HT1414

  • MAC OS 10.7 Trying to Delete from TRASH Time Machine FOLDER (file)

    Trying to delete time machine Folder(files) from TRASH. even used secure option, goes through ok. but will not delete from TRASH. files delete from
    Time Machine Drive ok, deletion gives you more space on TM DRIVE Time Machine runs ok, How to Delete the Folder (Files) From TRASH?

    Hello Mtaff,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    You can't empty the Trash or move a file to the Trash
    http://support.apple.com/kb/ht1526
    press Shift-Option or Option key combination while emptying the Trash
    Have a nice day,
    Mario

Maybe you are looking for

  • How to sync Nokia 9300i & Address Book without loosing contacts data/labels

    Hi, I have a Nokia comunicator 9300i and would like to backup the contacts in it (over 700) using a Mac. I can do that on the PC using Nokia's own backup suite. Yes, Nokia Comunicator 9300i is on the supported devices list and yes it does sync nicely

  • How can I apply existing WCS "WLAN Config" templates to a new WLC?

    We've been running a pair of WLC 4402s managed by WCS, thus we are still on the older 7.0.235.0 (WCS) / 7.0.235.3 (WLC) release. I'm trying to add an additional WLC 4402-50 as a hot spare. I first ran the manual setup steps to give it an IP in our ra

  • How do I merge several indexes into one for a book?

    I have created a book comprising 6 sections for a total of 343 pages and have created an index for each section. The pagination is consecutive 1-343 and I want the have a single index for the book. How do I combine those six indexes into one in Indes

  • Two characteristics in the Hierarchy - InfoObejct 0VAL_CLASS

    Hi people, Please, could you explain me how to consider two characteristics in my hierarchy for the Infoobject 0VAL_CLASS? In this case the main characteristic is 0VAL_CLASS and the other one is material. I have to consider "0MATERIAL" inside of the

  • DHCP Will Not Configure

    Today, my macbook stopped connecting to wireless networks via DHCP. Whenever I select DHCP for the AirPort connection, the computer automatically switches to "Using DHCP with Manual Address." I am a linux network admin, but I don't have extensive exp