Remove all procedures at once

I have a sys_eg scheme. I don't have DBA privileges. How can I remove the proceedings with a sql or pl/sql.

ORACLE 11G
I use sql developer version 3.2 tool
Thanks and greetings
Rahul

Put the drop statements in a script.

Run the script frojm sqlplus

@scriptname.sql;

You can also generate the names of objects to delete using the data dictionary

for example

SELECT 'drop '||object_type||' '||object_name||';' FROM user_objects
WHERE object_type IN
('PACKAGE','PACKAGE BODY', 'PROCEDURE','FUNCTION')
order by decode('PACKAGE BODY',1,2)

Published by: Keith Jamieson on 29 August 2012 14:27
added script drop

Tags: Database

Similar Questions

  • remove all procedures

    How to remove all of the procedures at the same time.
    BEGIN
     FOR I IN (SELECT DISTINCT NAME FROM USER_SOURCE WHERE TYPE = 'PROCEDURE') LOOP
     EXECUTE IMMEDIATE 'DROP PROCEDURE '||I.NAME;
     END LOOP;
    END;
    
    once execute this, you cant rollback again.
    
  • A quick way to remove all the targets?

    Hi there - we have an OEM environment cloned, and we delete all existing targets her.

    At the present time what we do is to go through the list of targets manually, removing the target RDBMS/ASM/listener, then by running mgmt_admin.cleanup_agent on the server to clear the agents, which allow us to remove the server. The only problem is that there are more than 700 targets...

    Is there a quick way to remove ALL targets at once? For example mgmt tables which can be truncated... and if so, how that would bind with the file targets.xml (or any other physical file existing in the SGC which keeps track of the target)? If this is not possible, then is there a generate a sql script that can be run against the relevant tables?

    Any advice would be greatly appreciated - I think that we may have to do this same process on many occasions!

    Thank you
    Dan

    Just write a script to use the procedure: mgmt_admin.cleanup_agent

  • [basiljs] remove all pages except one

    In a script, I create pages, export to PDF, remove pages and then create a new etc.

    Right now I use this:

    [code]

    for (var j = b.pageCount (); j > 1; j-) {}

    b.removePage (j);

    }

    [/ code]

    But it's really slow. I think that indesign made many calculation after deleting a page (deadline: link textfields) so it would be more efficient to remove all pages at once.

    Now my question is how do?

    I tested and if I delete about 5500 empty pages with the script it takes about 8 minutes.

    If I select all in indesign, and then delete it takes about 10 seconds.

    Another way to speed up a litle is to erase all the content. It will take a long time but probably a bit faster.

    Thing is that I have

    b.Clear (b.doc ());

    but this removes the master page as well and I need to keep the master page.

    In short, how to remove all pages (except one since indesign needs a single page) at the same time?

    Hello

    I will remove a lot of pages in indesign with

    • Use documentPreferences.pagesPerDocument (faster)
    • use while loop or for
    • Close doc without saving changes, and then open again. (in some cases)

    Here's the test code, run with old Macbook Air + CS5 + OSX10.7

    var pp = function (args) {
      $.writeln(args);
    }
    
    var remove_all_pages_use_pref = function (doc) {
      pp("start deleting (use preferences)");
      $.hiresTimer;
      doc.documentPreferences.pagesPerDocument = 1;
      pp("end deleting");
      pp($.hiresTimer);
    }
    
    var remove_all_pages_use_loop = function (doc) {
      var i = doc.pages.length;
      pp("start deleting (while --)");
      $.hiresTimer;
    
      while (i--) {
        if (i==1) {break;}
        doc.pages[i].remove();
      }
      pp("end deleting");
      pp($.hiresTimer);
    }
    
    function main() {
      var doc = app.documents.add();
      $.hiresTimer;
      doc.documentPreferences.pagesPerDocument = 5500;
      pp('# create 5500 pages');
      pp($.hiresTimer);
      var indd = new File("~/Desktop/5500.indd");
      doc.save(indd);
    
      pp("------------");
      remove_all_pages_use_pref(doc);
      doc.close(SaveOptions.NO);
    
      pp("------------");
      pp("# try another way");
      var doc2 = app.open(indd);
      remove_all_pages_use_loop(doc2);
      doc2.close(SaveOptions.NO);
    }
    main();
    

    result

    # create 5500 pages
    30395026
    ------------
    start deleting (use preferences)
    end deleting
    28215999
    ------------
    # try another way
    start deleting (while --)
    end deleting
    268641063
    

    Thank you

    mg

  • How can I remove or delete all emails at once in my Inbox

    I would like to remove or remove all my emails from my RECEPTION WINDOWS MAIL box ACCOUNT! What should do?

    Hi StanRakoski,

    In the Inbox to delete all e-mails at once hold down the SHIFT key and hold the down arrow key, it will hilight all then just click Delete at the top. then do the same in the folder to be deleted and the party for good...

    Concerning

    GT4U

  • When I open an e-mail in the junk e-mail folder to remove or block an email get them all deleted at once.

    Original title: junk mail

    All of a sudden when I open an email in the junk e-mail folder to remove or block an email get them all deleted at once. I click on one to read, then click to delete this e-mail but when I do they are all deleted instead of just this one. Help

    I m using outlook. It is no longer clear all my email when I try to delete one but now if I try to block an email it blocks all at the same time. I had to go to the red list and try to find ones that I didn't not blocked and put them on the list.

  • I thought that there was once a way to scroll through the bookmarks and remove all those who died, but I'm not; ?

    Just that I remember years ago that I had an option that strives to open each bookmark and remove all the dead.
    I want to go back.

    The add-on CheckPlaces could help.

  • You can remove all the highlights at once instead of one at a time in a PDF document?

    I have 12 PDF each of which is 300 to 600 pages where someone has highlighted large parts of gree, blue and yellow. I want to keep all yellow highlights and remove all green and blue. Is it possible to do without having to remove the strong points of each page? Any help is greatly appreciated!

    Kevin

    This could help you. You will have to do this on a per-document tho basis but should work.

    Click on the comments tab at the bottom left of the page. Choose display choose by type and choose annotations to text editing. Sort and choose the color. This niche all green, red etc inside a comment with an expandable + nest for her. Now, just click the Green and press from the trash, repeat for blue. Hope that helps?

  • To remove all music from my iphone

    I am eager to erase all my music on my Iphone 6. I tried to drag the songs and remove them myself, but when I backup my phone to my computer, they show once again. Any help would be greatly appreciated...

    Hello

    To remove all music from your iPhone, go to: settings > general > storage & use iCloud > in the storage section, tap on manage storage > music > Edit (top right corner) > delete all the songs.

    To avoid that music is synchronized to your iPhone by iTunes, uncheck the "Sync music":

  • How to remove multiple tags at once?

    When I opened display all bookmarks, I have a long list of tags - although I'm not there. The only way I found to remove is one at a time. Is it possible to remove multiple tags at once?

    Thank you!

    Have you tried to select the main tags folder in the left pane of the library and select several or all the tags in the right pane?

    You can remove all of the tags selected via the context menu.

  • Tecra Z50 - Fingerprint already exists - how to remove all traces of fingers?

    My Tecra Z50 came with win 7 preinstalled.
    Before moving on to Win 8.1, I recorded 2 fingerprints.

    Then, once upgraded, not only 2 fingerprint to unlock windows does not, but I can't delete it.

    If I register other fingers, they work well, but I can't undo the 2 fingers recorded in win 7.
    The utility show me these 2 fingers are free to register, but when I do it says "Fingerprint already exists."

    How delete all THE recorded fingerprints and restart in a specific situation?

    Thank you very much

    Hello

    That would be helpful FAQ?

    [How to remove fingerprints from the fingerprint Scanner? | http://www.mytoshiba.com.au/support/items/faq/386]

    You can also try the [the fingerprint tool remove WBF TFPU | http://support.toshiba.com/support/viewContentDetail?contentId=4003856]
    This tool removes all the fingerprints in the fingerprint sensor if used.

    But beware: this software supports the AuthenTec Finger Print sensor only!

    Read also this thread:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=67626

  • Hard drive recovery or support removes all other partitions?

    If I create an extra partition on my HP Pavilion hard drive and use a drive letter F: to store data and then use the partition recovery or media to restore to factory settings, my data secure or the recovery procedure to format the entire hard drive?  Thank you

    Depends on what version of HP Recovery Manager, you have installed. On some newer models, there are different options in Recovery_Ssytem recovery, reduced, Image Recovery Factory Reset. If your recovery manager has no additional options, then Yes, it will remove all of the partitions added. Better to use the external USB hard drive for important files.

    It is a description of the different features available in the Recovery Manager.It is available mainly on new laptops, but I've seen some reports of it on desktop computers. My most recent HP desktop computer didn't.

    http://support.HP.com/us-en/document/c02638587

  • My iPad 2 is very slow.  I removed all unused applications and erased from history.  What can I do else?

    My iPad is very slow.  I removed all unused applications and erased from history.  What can I do else?

    A disclaimer clause.

    I make no warranty, express or implied, that my own procedures return EACH older iPad to a usable state, running.

    Try all of the following conditions:

    Try to reset all the settings in the settings under general app and in the right column under restore.

    Try stories reset and delete/reset the caches in all web browsers you use.
    If you use Safari, these features may be in the application settings under Safari.
    Other browsers have their settings inside the running application itself.

    If your iPad has been activated for iCloud, in the application settings under iCloud, to the right, under iCloud Drive, type in iCloud drive and make sure that Safari is off to save data from Safari to iCloud by car.

    Also, under iCloud in the application settings, in iCloud Drive, turn the feature off saving for all other desired apps DO NOT the data automatically on iCloud drive.

    If you are using Safari is always causing issues.
    Try changing / using web browser third another, different.
    I do not use iOS Safari too much more because I found it cause me headaches on some Web sites, regularly, to visit.
    I commonly use another third party browser, perfect browser (there are others that can suit your style better web browsing, so look all first to see what third-party browser may work better for you) and I have never experience many questions that Safari was originally.

    In the settings app, under the Safari settings panel, tap lightly on the Panel in the right-hand turn off / disable Safari Suggestions.

    In the application settings tab general, right under the spotlight sesrch, try disable the search under the applications who really don't need a research, as some games, remote controls, apps that are really useless to be searched, etc., in order to reduce the list to Spotlight search.

    Try to turn the reduced movement.
    This is found in the application of settings in the general tab, in the left panel.
    In the right panel, look under accessibility, look to reduce the Motion and turn this feature "On".
    You should see a significant performance increase on all models of iPad 2, 3 and 4.

    In the application settings under the general tab, in the right column, search background App update and enable this setting to "off".

    Try a reset of your iPad by simultaneously pressing buttons Home and sleep/wake button until your iPad goes to the dark and restarts with the Apple logo, then release the buttons.

    Good luck!

  • How do I remove all photos of I phone

    How to remove all photos of I phone

    There is no selection all the functionality to delete all photos at once on the iphone, you must select each photo to delete.

    If you import pictures to your computer after it is finished, you can make an order and then delete photos.

  • Remove all documents (3430) iBooks 4.6 & data

    How can I remove all documents and data in iBooks 4.6 (3430)?

    Settings > General > storage & use iCloud > storage: storage management > iBooks shows that 1.4 GB of Documents & data are consumed. My goal is to reduce that less than 100 MB.

    In iBooks, I have selected the two elements in all the books and have exploited the button Delete. The elements now exist with a download of cloud icon

    I also went in iBooks on OS X and hid all foreign purchased iBooks.

    Settings > iBooks has the following settings by default:

    Synchronize bookmarks and Notes: off

    Synchronize Collections: off

    Online content: off

    Settings > iTunes & App Store has books DOWNLOADS AUTOMATIC start.

    I restarted my iPod and iBooks is always consumed 1.4 GB.

    iBooks is now consumed 2.0 GB of storage.

    Apparently he uploaded a certain number of books previously purchased without my permission. Opening iBooks still once, I found a number of books in my collection that I had previously deleted. I chose the books, then selected delete. These books are now gone because I have also chosen to hide these books by using iBooks on OS X in my account settings, but a number of books and collections still appear in my collection of iBooks. By selecting do not have the provision to remove. They are either collections, books that exist in the cloud (with a download icon collection iCloud), or links to an iBooks record entry for the book missing.

    After doing this, iBooks is always consumed 2.0 GB of storage.

    I just want to remove this from my iPod touch, including the alias vestigial book, collections and pointers to iBooks store pages. I would remove the unit iBooks app altogether if I could.

Maybe you are looking for

  • How to return to the screen notmal?

    So playing a game on FaceBook, I hit the button full screen and now I can't see my toolbar, etc. All of the posted solutions require the toolbar visible that mine are not. What I see is the mode full-screen without toolbar, etc.

  • Satellite C855-2CF - need help for install Windows 7

    Hello world! I bought a TOSHIBA Satellite C855-2CF *(PSKCAE-09K006HU).There's no OS installed previously. I want to install a Win 7, but so far without success. I found that some subjects, who said I should do in the BIOS and switch to the CMS UEFI b

  • DV6 6030el: truesuite combined announcement on hp simplepass 2012

    Hi, reinstall the new hard drive, restore everything so and upgrade all software I have win 7 ie11 simplepass 2012 avastfree and upgrade the firmware of fingerprints Well after all when I'm on the website do not activate the simplepass and I see on i

  • My dell 944 printer is offline, how can I do?, help.

    alignment page does and it comes up with offline.

  • Permission to open the file

    I installed an earlier version of Quickbooks on my computer.  I have a backup file from my old computer to a CD and restore the files on my new computer with Vista Home Premium.  When I try to restore the file, get the message that I don't have permi