Retrieve the package dropped

Hello

I have a deleopment database is not backed up.
We have accidentally dropped a package, is it possible to get it back.

Thank you

Please, take a look at this topic, it may help (flashback query):
Re: Find PL/SQL Code
However, an external version management tool is a better way.

Nicolas.

Tags: Database

Similar Questions

  • Retrieve the package setting in BI Publisher

    I'm trying to get the setting in BI PUblisher a package.
    I don't know how this is done or if it is possible?
    I know that I can use in a where clause clause e.g. & pmaxuser, but I want to use the value of the package to display in my word template.
    How to retrieve the value in my data model to use in my model of word?
    Please provide a sample of what must be defined in the model.
    Thanks in advance for your help.

    Data model

    < parameter name = "docnum" dataType = "character" defaultValue = "doc123" / >
    < parameter name = "pmaxuser" dataType = defaultValue = 'c' ' character' / >
    < parameter name = "pmaxdate" dataType = "date" defaultValue = "December 31, 10" / >

    Package specifications

    CREATE or REPLACE package pkg_bi_payable as

    DOCNUM varchar2 (8); - this parameter is sent by Bi PUblisher
    PMAXUSER varchar2 (30); - I want that this return to PUbliser BI
    Date of PMAXDATE; - I want that this return to PUbliser BI

    MaxDate Function to return a Boolean value;

    END;

    Package body


    CREATE or REPLACE package body pkg_bi_payable
    as

    MaxDate Function to return a Boolean value is

    Start

    pmaxuser: = 'CCCCC ';
    pmaxdate: = sysdate;

    return (TRUE);

    end;
    end;

    There is a setting on the data model to insert parameter in all of XML data values. So you will not need the function to retrieve it. Check the configuration manager.
    Tim

  • Retrieve the Package of database object

    Hi, I accidentally replace my package in my schema last Friday, how do I get back? my company runs a full backup of the database and do not open flashback function in this database. How do I just get a single object without causing data recovery all the?

    Help, please... urgent.


    Vincent.

    kiddoo_81 wrote:
    I tried your method, it can only show today's changes. Thank you... I think I'll proceed with disaster recovery, get the backup of another fake base... then from there... Copy ddl package...

    Have you tried to show the time only three days before? If you get no results, then it means that the CANCELLATION information has been rewritten
    If you have backups RMAN, you can follow my video tutorial to perform a recovery after disaster
    http://kamranagayev.WordPress.com/2010/03/29/RMAN-video-tutorial-series-performing-disaster-recovery-with-RMAN/

  • Retrieve the list of available control values IOName/IVILogicalName

    Is it possible to programmatically retrieve a list of all values of an IOName control (or more precisely IVILogicalName in this case)? I refer to the list of values that appears when you click the arrow on the menu drop-down control. For example, if I set the control to NO-SCOPE (IVI select class-> IviScope-> niScope) from the drop-down list shows only the names of the bodies that are present (for example, "PXI2Slot6"), including the sessions 'duplicate' (e.g. ' PXI2Slot6 (1) ").


    I can get the value currently selected control quite easily, but I would like to get a list of all available values. Is this possible? Values are just there in the control as surely there must be a way to access.

    My goal here is to find a way to recover all sessions IVI and then close them. If there is another way to do this, I'd be happy to hear it.

    Some related posts, I found:
    https://forums.NI.com/T5/instrument-control-GPIB-serial/close-all-open-IVI-sessions/TD-p/1752560
    https://forums.NI.com/T5/Digital-Multimeters-DMMs-and/what-is-the-proper-way-to-close-all-open-Sessi...

    DropDownList (with VI active scripting)

    I use it to find niDMM you can modify it to work with niSCOPE by changing the

    IVI of the results matrix class

    I use this for VISA

  • In order to recover the English spelling in OE6, I installed the spell checker for OE. I would like to find a similar tool to retrieve the spelling correction in OE6 for Italian.

    Checking spelling WinXP and OE6

    Hello, I use Office 2010 and Outlook Express 6 with Windows XP. In order to recover the English spelling in OE6, I installed the spell checker for OE http://www.snapfiles.com/get/spelloe.html. I would like to find a similar tool to retrieve the spelling correction in OE6 for Italian. So not the tools that spell everything I write anywhere, but one that works from OE6 allowing me to choose the Italian in the drop-down relative to the menu where to find English (United States) spell now. Can someone help me?

    Thank you

    Best regards

    I've been in the OE newsgroup & forums for nine years and I've never seen a third Italian spelling part for OE.

    If you have a copy of Microsoft Office 2003, you may be able to get that way.
    http://www.Outlook-tips.NET/archives/2006/20061228.htm

  • retrieve the phone number

    TelephonyManager mTelephonyMgr = (Context.TELEPHONY_SERVICE) context.getSystemService (TelephonyManager);

    Dim num = mTelephonyMgr.getLine1Number ();

    the num is proving to be null, I even used the debugger to probe each value in mTelephonyMgr, but none of them seems to contain the phone number, someone knows if it is possible to retrieve the phone number?  Thank you

    all comments are appreicated.

    Hi yuusaku,.

    Thanks for dropping by the forums!

    The telephone number through the TelephonyManager class would not be supported in the BlackBerry Runtime for Android applications by the documentation provided to during extraction: https://developer.blackberry.com/android/apisupport/unsupportedapi_blackberry10_hardware_features.ht...

  • Header of the package failed verification during the download of the package sfr

    Hello

    I am trying to download the package asasfr -5500 x-boot - 5.3.1 - 152.pkg. But every time, it comes with an error "package header failed verification - object of type 'NoneType' has no len() Please check that the package is not damaged. Abandoned update. "I tried with ftp and http. But every case the same thing happens. My question is whether this is the right package. The doc of Cisco, I read asasfr-sys - 5.3.1 - 44.pkg. But this version I have not found the site of download of cisco software.

    QW-SFR-boot > system install http://www.XXXXX.com/asasfr-sys-531-152.pkg
    Check

    Package header verification - object of type 'NoneType' no has no no len()

    Please check that the package is not damaged.
    Abandoned update.

    Thanks in advance.

    Sari

    Are you following the Quick Start Guide?

    As he ordered, first copy us the boot image module of firepower to the ASA, set it as the recovery for the module image, retrieve the module using this boot image and complete the installation complete by using the image of the system (step 7 in the Quick Start Guide). Until the first 6 steps are completed successfully, #7 will not work.

    Please show us the output of the show version and present the ASA cli module.

  • ORA-04067: not executed, the package body 'SCOTT. DBMS_PIPE' does not exist

    Hello world

    My version of DB is

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    I ran this command SYS and SCOTT as well. But I can't see the body of DBMS_PIPE package. So, how can I test DBMS_PIPE then? Please help, suggest something here.

    @C:\app\BS\product\11.2.0\dbhome_1\RDBMS\ADMIN\dbmspipe.sql

    Kind regards

    BS2012.

    Have you had a look at the script of dbmspipe.sql?   Why not?  After all, it's just an ASCII text file.

    In any case the script is EXECUTED on the package to a role, execute_catalog_role.  So only users who have gotten this role will be able to use the DBMS_PIPE of the judgment.  You must login as SYS and grant EXECUTE to your username (do not grant them this role).  Oracle made this way because the pipes can be voracious consumers of system resources.

    Oh and drop the package from the SCOTT schema.  It's just a recipe for confusion.

    Cheers, APC

  • SQL query to retrieve the same record because no. boxes

    Hi all

    I have a table of Bill XXINV.

    the columns are

    INVH_NO INVH_ITEM_CODE INVH_QTY INVH_BOXES

    1122                XXITEM1                    1                    5

    1123                XXITEM2                     2                   6

    I can do a sql query so that I can retrieve the same records repeated as number INVH_BOXES.

    Select * from XXINV

    where invh_no = 1122

    output:

    INVH_NO INVH_ITEM_CODE INVH_QTY INVH_BOXES

    1122                XXITEM1                    1                    5

    Desired output:

    INVH_NO INVH_ITEM_CODE INVH_QTY INVH_BOXES

    1122                XXITEM1                    1                    5

    1122                XXITEM1                    1                    5

    1122                XXITEM1                    1                    5

    1122                XXITEM1                    1                    5

    1122                XXITEM1                    1                    5

    or

    INVH_NO INVH_ITEM_CODE INVH_QTY INVH_BOXES

    1122 XXITEM1 1 1 of 5

    1122 XXITEM1 1 2 of 5

    1122 1 3 5 XXITEM1

    1122 XXITEM1 1 4 of 5

    1122 XXITEM1 1 5 of 5

    Please suggest. Like I need to print each line in a single page to stick them on boxes so that packaging.

    Kind regards

    Afzal.

    Just add INVH_ITEM_CODE to the connection by the clause.

    Select invh_no

    invh_item_code

    invh_qty

    to_char (, 'fm99') | 'from ' | TO_CHAR (invh_boxes, 'fm99') invh_boxes

    of xxinv

    where invh_no = 1122

    connect

    by level<=>

    and prior invh_item_code = invh_item_code

    and prior sys_guid() is not null

  • Creating a container of the package fails on the last stage by renaming the .exe in .dat

    I tried several times to create a package without success. All files seem to have downloaded when I look in C:\Users\MichaelK\AppData\Local\Adobe. There is data here 14.5Gig.

    I get the following.

    25/11/2015 15:20:04 [INFO] AdobePackageBuilder - Build Version - 1.9.2.53

    25/11/2015 15:20:04 [INFO] AdobePackageBuilder - verbosity Logging Level Set of 4

    25/11/2015 15:20:10 [INFO] AdobePackageBuilder - Sucessfully extracted products at D:\Temp\{5B1E86DF-7A0C-4934-89B3-5EBADC1096D9}\ACCCx3_4_0_180

    25/11/2015 15:20:10 [INFO] AdobePackageBuilder - Extraction completed with return code = 0

    25/11/2015 15:20:16 [WARN] AdobePackageBuilder - no file exist at the (D:\Downloads\Adobe CC\CC Install\Build\ASU\Tools\CCC\Uninstall\deploy\remove.xml)

    25/11/2015 15:20:18 [INFO] AdobePackageBuilder - copied the file/folder Installer (packages)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - Setup copy file/folder (resources)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied the file (Set - up.exe)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.db)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.sig)

    25/11/2015 15:20:19 [INFO] AdobePackageBuilder - copied file (payloads\Setup.xml)

    25/11/2015 15:20:22 [INFO] AdobePackageBuilder - copied the file/folder Installer (packages)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - Setup copy file/folder (resources)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied the file (Set - up.exe)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.db)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Media_db.sig)

    25/11/2015 15:20:23 [INFO] AdobePackageBuilder - copied file (payloads\Setup.xml)

    25/11/2015 15:20:23 [ERROR] AdobePackageBuilder - cannot rename the path (D:\Downloads\Adobe CC\CC Install\Build\Setup\AME9.0en_GB\Set-up.exe) to the path (D:\Downloads\Adobe CC\CC Install\Build\Setup\AME9.0en_GB\Set-up.dat)

    How can I successfully create a container to the package.

    Have you tried to clear the cache of CCP and try again? Damaged in the cache files can cause errors when building your package.

    Go to the 'Welcome' on the menu drop-down menu > Preferences, then choose "click here to purge the cache folder.

  • Failed to retrieve the kernel symbols does not have not to initialize the monitoring device can not find valid peer to connect to

    Hello

    I use vmware fusion 5.0.3 on osx 10.7.5. When I start the VM I get these three messages.

    Following this article, I opened the package VM and deleted the .nvram file.

    Still no go.

    I'm a fool. I had renamed some time ago mach_kernel file to test the caching of kernel from loading. This article Impossible to retrieve the kernel symbols gave me the idea to check the file mach.

  • pageContext.getParameter not retrieve the value of VO

    Dear,

    I use (pageContext.getParameter) to retrieve the value of messageTextInput when I click on submit and it works very well. But when I linked the messageTextInput with the VO attribute it returns value. Please I need your help with this.

    This is my code for CO

    /*===========================================================================+
     |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
     |                         All rights reserved.                              |
     +===========================================================================+
     |  HISTORY                                                                  |
     +===========================================================================*/
    package g4s.oracle.apps.po.suppliers.server;
    
    
    import java.io.Serializable;
    
    
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import g4s.oracle.apps.po.suppliers.server.common.SuppliersVO;
    
    
    import oracle.jbo.ViewObject;
    
    
    
    
    /**
     * Controller for ...
     */
    public class SuppliersInfoCO extends OAControllerImpl 
    {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    
    
        /**
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) 
        {
            super.processRequest(pageContext, webBean);
            if (!pageContext.isBackNavigationFired(false)) 
            {
                TransactionUnitHelper.startTransactionUnit(pageContext, "SupplierApprovalTxn");
                if (!pageContext.isFormSubmission()) 
                {
                    OAApplicationModule am = pageContext.getApplicationModule(webBean);
                    ViewObject MyVO = am.findViewObject("SuppliersVO1");
                    MyVO.setNamedWhereClauseParam("vdr_id", pageContext.getParameter("vdr_id"));
                    MyVO.executeQuery();
                }
            }
            else
            {
                if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "SupplierApprovalTxn", true)) 
                {
                    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
                    pageContext.redirectToDialogPage(dialogPage);
                }
            }
        }
    
    
        /**
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) 
        {
            super.processFormRequest(pageContext, webBean);
            //SupplierAMImpl am = (SupplierAMImpl)pageContext.getApplicationModule(webBean);
            //String xx = "ApprovalBTN";
            //Serializable[] parameters = { xx };
            //am.invokeMethod("TriggerApproval", parameters);
            String userContent = pageContext.getParameter("SupplierNameEnITM");
    
    
            MessageToken[] tokens = { new MessageToken("SUP_NAME",userContent) };
            OAException confirmMessage = new OAException("PO", "WF_PO_SUPPLIER", tokens, OAException.CONFIRMATION, null);
            pageContext.putDialogMessage(confirmMessage);
        }
    
    
    }
    

    print pageContext.getParameter ("vdr_id") and see what he's back

  • Failed to retrieve the value of fnd_profile.value ('ORG_ID') in the custom schema

    Hi all

    I'm recovering the value of profile with below calling a custom procedure created in the custom schema. But it always retrieves NULL.

    v_prof: = fnd_profile.value('ORG_ID');

    But when I create the same procedure in APPS Schema, it retrieves the value.

    I gave all grants to the schema customized for the apps.fnd_profile package. Help, please!

    Kind regards

    Patricia K.

    in the package/proc/func add property 'authid current_user' - using of PL/SQL subprograms

    runtime fnd_profile.value('ORG_ID'); will extract the default apps

  • Where is the serial number on the packaging of retail?

    Where is the serial number on the packaging of retail? There are so many sequences of number and letter, but they don't have 24 characters.

    Thank you

    Robert

    If you have saved, at this time, you can retrieve your serial number of your Adobe account manager, in terms of history.

    https://www.Adobe.com/account.html

    Darrell

  • current state of the package has been abandoned...

    Hi all..

    I get the following error only for the '"first run" ", even the package is in State"valid ". If the execute the same package to new "second run", it works ok.

    usually we complie all 'invalid objects"in the diagram, when we pass the TEST or PRE-PRODUCTION code approx.

    but I get the following error, even if the package is in State "valid".
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package "TEST_OWNER.TEST_PKG" has
    been invalidated
    ORA-04065: not executed, altered or dropped package
    "TEST_OWNER.TEST_PKG"
    ORA-06508: PL/SQL: could not find program unit being called:
    "TEST_OWNER.TEST_PKG"
    ORA-06512: at line 2
    I went through the next thread, blu explained the cause of this error,
    but we receive this error even when the package is 'valid' State too?
    Re: When should be package invalidated?

    Which session refers to a package for first time package is instantiated in memory of the session. If the package is recompiled, Oracle assumes he may have changed and the package in memory session instance is no longer valid. This is why any reference to this package made by this session will raise an error.

    Session 1:

    SQL> create or replace
      2  package pkg1
      3  is
      4  g_n number;
      5  procedure p1;
      6  end;
      7  /
    
    Package created.
    
    SQL> create or replace
      2  package body pkg1
      3  is
      4  procedure p1
      5  is
      6  begin
      7  for rc in (select * from emp) loop
      8  dbms_output.put_line(rc.empno);
      9  end loop;
     10  end;
     11  end;
     12  /
    
    Package body created.
    
    SQL> exec pkg1.p1;
    
    PL/SQL procedure successfully completed.
    
    SQL>
    

    This package is instantiated PKG1 is session1. Then session 2:

    SQL> alter package pkg1 compile body;
    
    Package body altered.
    
    SQL> 
    

    Back to session 1:

    SQL> exec pkg1.p1;
    BEGIN pkg1.p1; END;
    
    *
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "SCOTT.PKG1" has been invalidated
    ORA-04065: not executed, altered or dropped package body "SCOTT.PKG1"
    ORA-06508: PL/SQL: could not find program unit being called: "SCOTT.PKG1"
    ORA-06512: at line 1
    
    SQL>
    

    SY.

Maybe you are looking for