Remove Procedure

How do I remove a PL/SQL procedure?
In particular, I attempted to "Create or Replace Function MYFUNCTION" when MYFUNCTION had previously been a procedure, and I get the following:
ORA-00955: name is already used by an existing object
Since I would like to keep the same name, and more importantly, figure out how remove (or delete) the procedure.
Thanks,
james smyth

drop procedure MYFUNCTION;
Then continue with you create or replace ...

Similar Messages

  • DBMS_JOB.REMOVE procedure

    Hi,
    I submitted a Stored Proc as an Oracle JOB using DBMS_JOB.SUBMIT procedure to execute everyday. I checked it in DBMS_JOBS and USER_JOBS views, I couldn't find it. I submitted the job again. Now that I could see two jobs scheduled (the same procedure) for a daily execution. If I remove the jobs using DBMS_JOB.REMOVE procedure and check the dbms_jobs view in the same session, I cannot see the jobs as scheduled. When I check from another session, the jobs are still scheduled and both of them gets executed on a daily basis now, which I don't need. Why the DBMS_JOB.REMOVE is not removing the job from the job queue? Any clue?
    My Oracle Version is 9.2
    meetme

    If you have exited from the session using exit, then, the job which you remove should have gone. I mean, when you use exit from the session pre-commit take place.

  • Mm02 tcode attacment list remove procedure

    Dear Experts,
    MM02 Tcode security issue
    In MM02, mention the material number and choose the Basic view & click on "Attachment list" as shown below
    Once you click on attachment, you can see the attachment list in pop-up where you can select & view the documents.
    NOTE: But we need to remove the attachment list view authorization could you please give solution for blocking the attachment list & create attachment
    we are trace the tcode  through ST01 But we are finding those objects S_BDS_DS , S_ALV_LAYO,  S_GUI  Three objects only for this i checked and blocked the object it will not work
    please help me to sort out issue .
    Best Regards
    Suresh M

    I found the solution for blocking the "Attachment list" & create attachments of  services of object button through changing the parameter its self it will not appear in the tcodes  MM01,MM02 and mm03
    procedure :
    go to >>>>SU01 Tcode >>>>>>>>parameters tab  >>enter the parameter
    SGOSNOBUT  x Do not display button 'Services for Object'
    and save it
    Best Regards
    SURESH

  • Removal procedures for iOS 8 from an iPad

    I need to remove iOS 8 from my iPad.  My iPad is pretty much non-functional at this time.

    There is no Apple supported* way to downgrade iOS versions, or roll back updates.
    What fixes have you attempted for the issues?
    Have you tried to reset the iPad?
    Have you tried to Restore it as new to refresh the installation?
    Its possible something went wrong with the installation, and its causing these issues?
    To Reset the iPad hold down the home and Power/sleep buttons until the Apple logo shows up.
    If that does not fix it, try a restore:
    Use iTunes to restore your iOS device to factory settings

  • Removing Acrobat 9 Standard from my pc's Add/Remove screen

    My pc is on Windows XP Professional.
    I am unable to remove "Acrobat 9 Standard" application from my PC's "Add Remove Programs" screen.  The application shows up in the list and when I select the Add/Remove option I get this message.  The program is not now on my PC.
    "This action is only provided for products that are currently installed".
    I tried the Acrobat Tech support suggestion:
    To use the microsoft special products removal program.  Microsoft has since removed that program (because of technical difficulties it's use caused) and Microsoft now suggest that I use the normal Add/Remove procedure for removing a software package from my pc.  That process does not work.
    Note:  Acrobat 9 Standard was removed originally, but the program was still displayed on the Add/Remove screen.  Now I want the program to go away from my Add/Remove Screen and do not know hot to make it happen.
    Help?

    Hello there,
    I'm sorry you're having trouble. Unfortunately, this forum is for questions pertaining to Acrobat.com (www.acrobat.com) and we cannot help with questions specific to Acrobat desktop software. Here are some links to get you pointed in the right direction:
    Here is the home page for Acrobat Help and Support:
    http://www.adobe.com/support/acrobat/
    Here is a link to the moderated Acrobat Users forums:
    http://www.acrobatusers.com/forums/aucbb/index.php
    I'm sorry not to be able to offer more specific advice. Best of luck!
    Kind regards,
    Rebecca

  • How to set database location for stored procedure

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    I've already found out that setting location is not only my problem, but I can't understand the correct decision. We using CR to create reports, accessing the data in MSSQL by ODBC.
    Previously (up to version 8) I set location directly, editing the "Table" field in "Set Location" form. Command after report creation was:
    Proc(DBNAME.dbo.PROCEDURE_NAME;1)
    I erased "DBNAME.dbo.", so the correct command was
    Proc(PROCEDURE_NAME;1)
    After that, the report can run on any database name, any ODBC datasource with any owner name of procedure.
    Now we had to upgdate to CR 11 Developer Edition.
    Here I can't erase database location. But when I change database location to ODBC datasource for another database, the properties of stored procedure "Catalog" and "Owner" remain the same as they initiated when report was created! So, when report runs, it call
    exec OLD_DB_NAME.dbo.PROCEURE_NAME;1 ....
    So, the report doesn't work on customer database, because it has different name.
    How can I erase any database location in the report?We run reports using API from Gupta Team Developer applications, may be it is possible to set database location by API before running report?
    Plese help, any tips are usefull.

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    When I set location to another database (i.e. another ODBC datasource) by clicking Update button, "Catalog" property is not changing! It remains unaltered. I had to remove procedure from report and then add procedure from another database, so there was a lot of formatting fileds after that.
    This is not a right decision. I didn't solved current problem, I only temporary patched it.
    The correct desision is to set location programmatically from application.But function PEGetNthTableLocation returns empty strings in CR11, or I incorectly declared this function (from CR8.5):
    BOOL CRPE_API PEGetNthTableLocation ( short printJob,  //handle to print job short tableN,  //number of table struct PETableLocation FAR *location     //structure pointer);typedef struct PETableLocation {    WORD StructSize;    char Location [PE_TABLE_LOCATION_LEN]; //256    char SubLocation[PE_TABLE_LOCATION_LEN]; //256    char ConnectBuffer[PE_CONNECTION_BUFFER_LEN]; //512} PETableLocation;

  • Remove serial number profile

    I would like to remove a serial number profile in the material master for a material that does is no longer handled as serialized.
    During trying to remove the serial number profile in the respecitve material a system-error message occurs telling "Serial numbers already assigned to this material" and it refers to report RISERNR9.
    Could you please tell me the required steps (e.g. remove stock? / change each serial number status?) that are required to realize this? Is there a OSS note available that descripes the approach?
    Thank you in advance!

    Hi,
    Please execute the serial number profile removal process and see.  Material serial number removal procedure as follows.
    Using T-Code MM02-change material code to the respective plant(6000),storage location,sales org and then give input data to the material view screen basic data1, basic data2...... In the view Plant data / Stor.2 input screen General plant parameters options Serial no.profile - '0001', SerLevel - '1' data to be removed during change/edit of the material. After that doing MIGO for the material serial number should not asked and also not displayed.  set the deletion flag in IQ02,  archive the serial number history using archiving object PM_OBJLIST,  archive the serial number using archiving object PM_EQUI. Please execute these steps and check. Hope it works. Thanking you.

  • How to set a checkbox to call javascript for calling package procedure?

    Hi folks,
    I have a report where each row includes a dynamically created checkbox:
    Step 1: define report in APEX based on this test query
    select object_id,
           txt,
           htmldb_item.checkbox
              1,
              data.object_id,
              'onclick=alert('||data.object_id||');'
           ) cb
    from
      select 1 object_id, 'AAAA' txt from dual union
      select 2 object_id, 'BBBB' txt from dual union
      select 3 object_id, 'CCCC' txt from dual
    )  data Step 2: create a log table
    create table tk_test_log
       log_val  varchar2(100)
    );Step 3: Then I have a package stored in db called: tk_test
    create or replace package tk_test is
      procedure add(p_num number);
      procedure remove(p_num number);
    end tk_test;
    create or replace package body tk_test is
      procedure add(p_num number) is
      begin
        insert into tk_test_log values ('TK_TEST.ADD: '||p_num||'   '||to_char(sysdate,'DD/MM/YYYY HH24:MI:SS'));
      end;
      procedure remove(p_num number) is
      begin
        insert into tk_test_log values ('TK_TEST.REMOVE: '||p_num||'   '||to_char(sysdate,'DD/MM/YYYY HH24:MI:SS'));
      end;
    end tk_test;Is it possible to call "tk_test.add" procedure everytime when user checks any of checkboxes and to call "tk_test.remove" when user un-check any checkbox?
    How should I modify a javascript in step 1 (currently = alert('||data.object_id||') ) to obtain similar solution?
    Please help,
    Tomas

    Hi Earl,
    Thanks for your reply.
    Well this is exactly what I'm planning to use within my package :). Above example was just a really into into problem.
    In reallity:
    "add" prcedure will add a record into collection (plsql table - stored as a type)
    and
    "remove" procedure will remove it from it
    But my problemis how to call it from javascript.
    You're probably suggesting to use/maintain this collection within APEX and not within database?
    Here is how I've defined my collection:
    create or replace type ap_choice_temp_object_type is object
        ( person_id number,
          choice_id number,
          added     date
    create or replace type ap_choice_temp_tab_type is table of ap_choice_temp_object_type;       And then in package I have procedures:
      procedure clear_ap_choice_temp_tab is
      begin
         l_choice_temp_tab := ap_choice_temp_tab_type();
      end;
      procedure add_ap_choice_temp_row (p_person_id number,
                                        p_choice_id   number
                                        ) is
      begin
        if l_choice_temp_tab.exists = false then
           clear_ap_choice_temp_tab;
        end if;
        l_choice_temp_tab.extend;
        l_choice_temp_tab(l_choice_temp_tab.last) := ap_choice_temp_object_type(person_id => p_person_id,
                                                                                choice_id => p_choice_id,
                                                                                added => sysdate
      end;
      procedure remove_ap_choice_temp_row (p_person_id number,
                                           p_choice_id   number
                                           ) is
      i integer;
      begin
        -- this should be more optimalised -- this version is just 1-st try !
        print_ap_choice_temp_tab;
        i := l_choice_temp_tab.first;
        loop
           if l_choice_temp_tab(i).person_id = p_person_id and l_choice_temp_tab(i).choice_id = p_choice_id then
             l_choice_temp_tab.delete(i);
           end if; 
           i:= l_choice_temp_tab.next(i);
           exit when i is null;
        end loop;
        print_ap_choice_temp_tab;                                                                              
      end;
      procedure print_ap_choice_temp_tab is
       i integer;
      begin
         dbms_output.put_line('Start');
         i := l_choice_temp_tab.first;
         loop
            dbms_output.put_line(l_choice_temp_tab(i).person_id||' | '||l_choice_temp_tab(i).choice_id||' | '||l_choice_temp_tab(i).added);
            i:= l_choice_temp_tab.next(i);
            exit when i is null;
          end loop;    
         dbms_output.put_line('End');
      end;Testing code
    begin
      tk_test.clear_ap_choice_temp_tab;
      tk_test.add_ap_choice_temp_row(123,321);
      tk_test.add_ap_choice_temp_row(777,555);
      tk_test.add_ap_choice_temp_row(9999,4445);
      tk_test.remove_ap_choice_temp_row(777,555);
      --tk_test.print_ap_choice_temp_tab;
    end;     Do you have any nice example how to use what you're suggesting in APEX? I mean "create some collection at page display time, let the user update the collection (through checkboxes) while they're scrolling through things."
    I think this example would be usefull for many developers :)
    Thanks,
    Tomas

  • How do i remove registry entries if 9i is on D:\ and 9i Developer on C:\

    I am trying to remove my Oracle database from my computer and each time i uninstall and reinstall, i get about 2 or 3 previous instances popping up on my machine and asking me if i want to migrate the Datbase to 9i.
    Anyway, i checked the documentation and got a bunch of instructions on how 1st and foremost, i should stop the Oracle services that are running before trying to remove the Oracle registry entries.
    http://download-uk.oracle.com/docs/html/B10130_02/deinstall.htm#i1008369
    The problem is, i installed Oracle 9i on drive D: and Oracle 9i Developer on drive C:(my local disk). Should i still go ahead and follow the same rules for editing the registry and completely removing the database and Oracle developer from the PC?
    Sincerly,
    Sam Jr.

    It's not important for the removal procedure, where the components have been installed. The instructions given through this URL are still valid.

  • How to remove srial number profile ?

    Hi sap Guru,
    my issue is how to remove serial Number profile in material master,
    a  material use all  plant ,only  one plant  serial number profile is on,
    ex- having  plant 1000,2000,3000,4000,5000,6000.
    plant 6000  serial number profile is on, having  five quantity with serial no and  the material already issue,
    how to remove serial number profile 6000 plant that material ,
    i try in material master remove serial  no profile but getting error serial number profile already assign
    How to remove serial no profile For plant 6000 ?
    2.
    in sto material sent delhi to bagalore ,
    available material is 10 in delhi store , when user sto that material geting error like
    only 0 ea of material available
    what might be problem ?
    regards
    shiv

    HI Shi,
    1) Material serial number removed procedure as follows.
    Using T-Code MM02-change  material code to the respective plant(6000),storage location,sales org and then give input data to the material view screen basic data1, basic data2...... In the view Plant data / Stor.2 input screen General plant parameters options Serial no.profile - '0001', SerLevel - '1' data to be removed during change/edit of the material. After that doing MIGO for the material serial number should not asked and also not displayed.
    Hope, it is useful for you.
    Regards,
    K.Rajendran.

  • How can i remove the keyboard for a cleaning? pavillion dv7...

    hi yesterday i had an accident with the coffe, i splill it in part of the numeric key board, i remove all coffe from the keyboar and wasnt workinf caracteres like 6 , 3 , 2 1 0 and enter, today they are working (eccept enter is not working) but they are very stiky when u push them, i think the system is working good, so i dont need to send to repair the pc, just a full cleaning on the key board, i will be very grateful for any help to open and cleaning process, i have the tool i need direction thanx alot ...

    http://h20574.www2.hp.com/?jumpid=reg_R1002_USEN&lang=en&cc=US&hpappid=psml
    From the above url ( HP Partner Services Media Library ), do the following;
    1. Select Laptop and Tablet PCs in "Product Category".
    2. Select HP Pavilion Notebook PCs in "Product Family".
    3. Select HP Pavilion dv7-1000/2000/3000 Entertainment Notebook Series in "product Series". You need to figure out it is a 1000, 2000 or 3000 series from your own dv7.
    4.After step 3 is selected, you should able to Media selection and additional resources for your dv7-1000/2000/3000 at the bottom of this url.
    5. Select FRU remove/Replace. A new window should pop up " HP Service Media Library".
    6. Select "Keyboard" to see the video and Keyboard removal procedures.
    Since Notebook keyboard is quite different than the normal full desktop keyboard, it may not be easy to clean if the coffee got into the rubberized part of the keys.
    Have fun....

  • Removing Workstations from Sybase DB

    Hi,
    Server & Workstations use Zenworks 4.01 + IR5 patch.
    I have some obsolete workstation inventory information in the zenworks
    sybase database. The eDirectory objects no longer exist but the data for
    the workstations is returned in Inventory Query results.
    I've read discussions and TID's for solving this on other versions of
    Zenworks but none of the solutions worked for me. A "sync" to ensure that
    data is removed if the eDir object does not exist would be good.
    A few times in the past year the sybase database was offline for a week or
    so. It could be that the edir objects were removed at this time and
    therefore the removal process did not find it's way back to the sybase DB.
    I have no automated WS inventory removal procedure.
    I don't want to start with a clean DB and let it repopulate as some data
    from workstations that only connect periodically is valuable.
    Thanks in advance,
    Julian

    Thanks for the comment Marcus. I found that I had a problem with paths in
    this file:
    \ZENworks\Inv\server\WmInv\properties\InventoryRem oval.properties
    and syntax in the file:
    \ZENworks\Inv\server\WmInv\properties\InventoryRem ovalList.txt
    With these two issues resolved a : "startser RemoveInventory" now removes
    the items as desired.
    Cheers
    Julian
    > On Tue, 24 May 2005 02:32:49 GMT, Julian Orange wrote:
    >
    > > I've read discussions and TID's for solving this on other versions of
    > > Zenworks but none of the solutions worked for me. A "sync" to ensure
    that
    > > data is removed if the eDir object does not exist would be good.
    >
    > the sync is being done automatically, configured on the inventory service
    > object, second tab...
    >
    > problem is that the sync doesn't work 100%..
    >
    > you will find information in the documentation on how to purge wks
    manually
    > from the database...
    > --
    >
    > Marcus Breiden
    >
    > Please change -- to - to mail me.
    > The content of this mail is my private and personal opinion.
    > http://www.edu-magic.net

  • How to remove the BIOS password on Satellite Pro M10

    Hi
    any body can help me to fix my problem with my Satellite Pro M10?
    Need power on password.
    I try to entering the old password but it can't accept.
    I was trying to used dongle with DB25 port, but it can't successfully.
    I have removed the BIOS battery; not my problem out
    There is any body can help me?
    thank's
    Irwan

    Hello Irwan
    As you can see there is no much to do and only service can help you. I am really wondering that people here believe that removing CMOS battery will help. It is not the desktop and some things on laptops work a little bit different.
    One more thing for you and all people who want to remove BIOS alone. BIOS password removing procedure is not the same for all notebook models. For some models it is so complicated and works similar like on mobile phone. To delete existing password you need to enter special generated code using special tools.
    Please contact nearest service provider in your country and they will help you. If the notebook is your private property and if you are owner it should not be the problem.

  • Satellite M - How to remove the BIOS password?

    Hello.
    I forgot my BIOS password. I tried doing everything from introducing some default passwords like 'toshiba' 'phoenix' holding the left shift key while booting to disassembling my laptop and finding my BIOS battery to remove it.
    The problem is that my battery is glued on my motherboard and I don't know what to do. I heard that there should be some jumpers near the battery that could help me but I cannont find them.
    I am desperated ....what can I do?
    please help me
    thank you.

    Default password doesnt exist and there is no magic default password that can remove existing one. Removing BIOS battery will not help at all. On notebooks it will not work so forget it.
    BIOS password can be removed by ASP only so contact nearest ASP and they will help you.
    Theory with jumper is also not correct because BIOS removal procedure is not the same for every notebook model.
    Sorry but ASP is your only way to remove BIOS password.

  • Satellite 1410 dvd rom / cdrw combo replacement procedure

    How do you replace the dvd/cdrw combo drive in a Satellite 1410?
    There is only one visible screw on the bottom that is fastened to the drive. 
    I also removed the hard disk and battery, and the other covers on the bottom and did not find any other screws. 
    I removed the keyboard and did not find any additional visible screws that hold in the cd drive.
    Does anyone know the removal procedure, or have a link to a maintenace manual?

    lahave wrote:
    How do you replace the dvd/cdrw combo drive in a Satellite 1410?
    There is only one visible screw on the bottom that is fastened to the drive. 
    I also removed the hard disk and battery, and the other covers on the bottom and did not find any other screws. 
    I removed the keyboard and did not find any additional visible screws that hold in the cd drive.
    Does anyone know the removal procedure, or have a link to a maintenace manual?
    Toshiba doesn't make maintenance manuals available to anyone other than ASPs.
    Unofficial instructions are at:
    http://www.irisvista.com/tech/laptops/Toshiba1415/sat1415_1.htm

Maybe you are looking for

  • SRM 7.0# Plant in purchase order

    Hi Experts, The issue is to keep PLANT text in purchase order along with location feild in header.I created through webdynpro but it is not mapping to corresponding PLANT and not displaying in the screen.The details are mentioned below Webdynpro Comp

  • RE: HOW DO I PAIR UP MY VIDONN X6 SMARTBAND TO THE LIFELOG APP

    Hello, I recently purchased the above smart band and do not like their app so installed the LIFELOG app on o my Sony Xperia ZL.  However, after setting everything up n this app, I cannot seem to pair it up with the smart band....or does it do it auto

  • Change UDP Socket.ReceiveBufferSize under Windows

    I've previously used a LabVIEW LLB that allows customizing a TCP socket (TCP_NODELAY LLB) to enable and disable delayed acks. This NI LLB contains a pasword protected VI that returns a raw TCP socket ID that is in turn used as an input to a Call Libr

  • How to delete unwanted Address Lists

    I have tried to remove unwanted Address Books with no success. A "right click delete" is never available in any area. -

  • One-time Customer status field

    Hi Experts, When I create a SD document for One Time Customer, a popup screen appears “Address from Master Data for Sold-to party (Document header)”. How can I control the status fields for this screen ? I already tried customizing account groups but