How to find the name of the procedure call or a package?

Hi all..

Is it possible to find the name of the procedure or the calling package?

I mean.. If proc_1 calls proc_2 how can I find in proc_2 proc_1 call?

Proc_2 is called from a different procedure? I need to write to the size of the code that should fire depends on the Proc he calls?

Please help me solve this problem.

Thank you

You could try OWA_UTIL. WHO_CALLED_ME
"This procedure returns information (in the form of output parameters) on the unity of PL/SQL code that called it."
See:
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/w_util.htm#sthref11492

Tags: Database

Similar Questions

  • How to find the RunState.Caller.NextStep property if exists?

    I use the sequence SequentialModel to update the User Interface. However, as suggested here: http://zone.ni.com/reference/en-XX/help/370052M-01/tsfundamentals/infotopics/seq_con_runstate_subpro... ; ' This property does not exist during and after executing the last step in a task sequence step. How can I check if this property or the members of the API is available so that I don't get an error message when the sequence reached the last step?

    I found a way through a Technical Support OR. The RunState.Caller.NextStepIndex will give a value of-1 if there is no next step.

  • How to find the book, THE, Op units, Org (All) names and ID?

    How to find the book, THE, Op units, Org (All) names and ID?

    With regard to:

    Mr. Shahzad Saleem

    Please run the following query

    SELECT gl.NAME ledger_name, hou.NAME operating_unit_name,

    xep.NAME legal_entity_name

    Gl_ledgers gl, hr_operating_units hou, xle_entity_profiles xep

    WHERE gl.ledger_id = hou.set_of_books_id

    AND hou.default_legal_context_id = xep.legal_entity_id

  • How to find the name of the Oracle database server?

    People,

    Hello. I installed Oracle Database 11 g 2 OS Oracle Linux 5. The installed directory is/home/user/OracleDB_Home and/home/user/OracleDB_Base.

    Host name is "mylinux". Name of the database instance is PT853.

    I use "mylinux" as the name of the database server, it does not work. I use another way to do as below:

    Export ORACLE_HOME = / home/user/OracleDB_Home

    Can I use "mylinux ORACLE_HOME" as the name of the database server, it does not work either.


    My question is:

    How to find the name of the database server Oracle with Oracle Linux 5 OS?


    Thank you.

    You must learn the basic of database Oracle.

    Please don't regard it not same as SQL server in terms of configuration.

    You never specify the database server name in Oracle.

    You specify the host name in only two places, 1) Tnsnames.ora/JDBC/ODBC (or any client you want to connect) and listener.ora) 2.

    There was nothing called specify the name of the Oracle database from an oracle database server.

    Concerning

    Anurag.

  • How to find the session killed and computer name

    Hello

    At the time of the batch run killed .somebody this session without me knowing how to find the user particular db level or oslevel .de name which machine they killed how know at the OS level. but when I put the audit_trail = os only user SYSDBA activities are not checked the other activities of the user.

    The server is AIX and db version 11i provide the query for conclusion or os level.

    Thank you
    DBC.

    Published by: dbc001 on March 26, 2013 21:48

    check with who ever is privilleges to kill these perticluar session, if you have few users.
    It is not possible to findout without verification or error info... etc.
    Otherwise, restart these jobs perticluar and follow closely.

  • How to find the id of session procedure

    How to find the id of my procedure proc1 session when I am running.

    Thank you

    You can use this function USERENV ('SESSIONID').
    where sessionid parameter.

    for example

    SQL> select userenv('SESSIONID') from dual ;
    
    USERENV('SESSIONID')
    --------------------
                     563
    

    SS

  • How to find the position of the VI icon currently run on the block diagram of the appellant

    Dear forum,

    I am currently trying to use a LabVIEV VI as a simple sequencer: several (very slow) actions must run one after the other. Each action is represented by a Sub - VI, some actions are executed several times. My task is to view the Subvi somehow executing.

    My first intention (just manipulate the icon of the VI running with 'Icon.Get VI as Image data' / 'Icon.Set VI of Image data' invoke nodes) has failed, because it changes all instances of the VI icon. If you use the same VI several times, all these VI icons are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl... )

    My current approach is to use an image of the block diagram (with "VI: block diagram: get resized Image ' call method) in a picture of the front panel control and working within this control. But for this I need to know the position of the icon of the VI running. I know that I can assess the limits and Position via the properties GObj, but how to find the VI running (note that a VI can be installed several times on the block diagram, so the name of the VI is not unique)? IMHO the easiest way might be if a VI might find its icon on the block of the appellant diagram itself when it is run...

    It is clear that this position is not yet the position on the photo, but this conversion is a small piece of work...

    Kind regards

    cpschnuffel


  • Does anyone know how to find the ip address of someone who is to be a nuiscance?

    Does anyone know how to find the ip address of a person who uses different names to communicate with you. A member of the family has problems with someone who does this.  Thank you in advance, I know one of the guys will help me.

    Hi, Ros,

    Use the e-mail headers

    http://www.johnru.com/Active-WHOIS/trace-email.html

  • How to find the snid? If it is removed or deleted from this sticker on the back?

    How to find the snid and sn & id of the laptop if it is removed or deleted this sticker on the back?

    My laptop is acer ferrari 1000

    Tools Information as SIW system reports the product name and serial number IF this information is stored somewhere in the computer.

    I don't know what you mean by 'id', but for example, all the following values are reported by SIW:

    Manufacturer
    Name of the product
    Version
    Serial number
    Type of machine
    Infrared (IR) supported
    DMI system UUID
    UUID

  • How to find the path of a file

    Hello

    I have Windows 7 Starter.

    The search utility can be used to search for files by using the ' * ' wildcard, but unfortunately it does not show the path for no results.

    I would like to know how to find the path of a file of my choice.

    For example, I record a radio on the internet, which is then saved as "MP3". Now, I want to edit such a file, but I need to know where the file is actually stored. Simply access within a 'library' does not show me where the file is actually located.

    How to discover all paths where a particular file format?

    I hope to receive a response to this request.

    Kind regards

    Rayt333

    An option for the search utility see the paths for all of its results, would be useful.

    Hi Ray

    Overall view for the search folder for Detailsof Windows Explorer , by using the View Menu on the right side of the toolbar.

    Click on the last name column heading and select the folder item.

    If you do not see the folder item, click other, scroll and select the folder item. This will add the folder column.

    Use the left mouse button to drag the folder column to the left, next to the column name .

    Now, when you perform a search, the folder column will show the path of each file found.

    Concerning

  • How to find the location of a file or folder in windows 7

    I have a few games on my computer. I can't find the location of the original file for them however. What I find is that they are in the 'games' folder that is included with windows 7. However, the whole files are not there. Only a little bit of information for the game is stored here. What I need to know is: how to find the original location? I tried the search bar "search programs and files" under the start menu, but the only place that appears is the Games folder. I need to know this, because I want to try modding my game called "Civilization 4. Can you please help?

    Try this...

    Start button > in the search box, type the name of the gam, i.e. of Civilization 4 > (do NOT press enter) > top left corner, you see the name "Civilization 4 '?

    If so, right click on it > click Open File Location > the game exe file show be on the highlighted list > right click it > click on create a shortcut.

    Happens to you?

  • How to find the 'society of the IP '?

    Hi all.

    I am beginner Eloqua10, and I have a question.

    Could you tell me how to find the 'intellectual property society '?

    ('Intellectual property society' is the name of the company Eloqua derived from the IP address of the visitor).

    I guess that there is a 'society of IP"in a preview, but I couldn't find that.

    Please help me.

    Regards ,

    Matsui

    Hi Matsui,

    The field you are looking for, is a field of account.

    When you select fields in reports, then select 'IP address of the company' in the areas of account.

    I guess it could help you.

    Kind regards

    Eloqua Expert

  • How to find the ID of the existing contact?

    I need to update an existing contact in Eloqua, but to do that I need to find the ID of the contact.

    I know how to get the ID of the contact after it is created the first time, but once it is already created how to find the code.

    How do I do that?

    Here is my code that I use to update, I just need to solve for '?

    EloquaAPI. DynamicEntity [dynamicEntities] = new EloquaAPI. DynamicEntity [1] ;

    dynamicEntities [0] = new EloquaAPI. DynamicEntity ();

    dynamicEntities [0]. EntityType = entityType;

    dynamicEntities [0]. Id = "???";

    dynamicEntities [0]. FieldValueCollection is new EloquaAPI. DynamicEntityFields ();

    dynamicEntities [0]. FieldValueCollection.Add ("C_GUID1", GUID);

    dynamicEntities [0]. FieldValueCollection.Add ("C_FirstName", FirstName.Trim ());

    dynamicEntities [0]. FieldValueCollection.Add ("C_LastName", LastName.Trim ());

    dynamicEntities [0]. FieldValueCollection.Add ("C_EmailAddress", Email.Trim ());

    dynamicEntities [0]. FieldValueCollection.Add ('C_Type1', 'Contact');

    EloquaAPI. UpdateResult [] result = service. Update (dynamicEntities);

    Joey

    Hi Joey,

    If you do not already have the id of the contact, then you will need to use the. Function Query() to get it – most commonly ask you based on the email address.  For this call API documentation is here:

    http://www.eloquatrainingcenter.com/Portal/documentation/API/content/API_Reference/Entity_Operations/query.htm

    The example code in this page is not large (without having to download the entire sample application), but here's a basic use (VB.net):

    Dim contactId As Integer = 0

    Dim etContact As New ELQService.EntityType
    etContact.Type = 'Base '.
    etContact.Name = "Contact".

    Dim result = are. Query (etContact, "C_EmailAddress ="[email protected]"", {"Id"}, 1, 50)
    If result. TotalRecords > 0 then contactId = result. Entities (0). ID

    Chris

  • How to find the first Sunday and the second Saturday of each month

    Hi all

    How to find the first Sunday and the second Saturday of each month

    Thank you

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

    994122 wrote:

    Hello

    I need to pass the months parameter how to do this? like Jan, Feb etc... (one of those)

    Do you have a procedure?

    Should you output only for the months you passed in the parameter?

    The easiest way is to set the parameter as date. When you go such as p_date as DATE ' 2014-10-01', then you can

    PROCEDURE two_dates)

    p_date IN DATE

    p_first_sunday DATE

    p_second_saturday DATE

    )

    IS

    BEGIN

    p_first_sunday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-12', 'DAY'));

    p_second_saturday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-11', 'DAY')) + 7;

    END two_dates;

    Or you describe what you need.

  • How to find the age of a child and snapshot number snapshot for a virtual machine.

    Hi all

    How to find the age of a snapshot for a virtual machine child count and snapshot.

    This code snippet should help... Assuming that you have the following entries:

    VM (VC:VirtualMachine)

    snapshot (VC:VirtualMachineSnapshot)

    System.log("====== Snapshot details for VM: "+snapshot.config.name+" ======");
    var snapshotTrees = vm.snapshot.rootSnapshotList;
    System.log("Snapshot Tree Count: "+snapshotTrees.length);
    for each (snapshotTree in snapshotTrees){
        showSnapshotInfo(snapshotTree, snapshot);
    }
    
    function showSnapshotInfo(snapshotTree, selectedSnapshot){
        if(selectedSnapshot == snapshotTree.snapshot){
            System.log("====================");
            System.log("Name: "+snapshotTree.name);
            System.log("Id: "+snapshotTree.id);
            System.log("Description: "+snapshotTree.description);
            System.log("createTime: "+snapshotTree.createTime);
            System.log("quiesced: "+snapshotTree.quiesced);
            System.log("replaySupported: "+snapshotTree.replaySupported);
            System.log("backupManifest: "+snapshotTree.backupManifest);
            System.log("snapshot id: "+snapshotTree.snapshot.id);
            System.log("state: "+snapshotTree.state.value);
            var childSnapshotList = snapshotTree.childSnapshotList;
            if(childSnapshotList != null){
                System.log("childSnapshotList length: "+snapshotTree.childSnapshotList.length);
            }
            System.log("");
        }
        if(snapshotTree.childSnapshotList != null){
            System.log("Children found: "+snapshotTree.childSnapshotList.length);
            for each (childSnapshotTree in snapshotTree.childSnapshotList){
                showSnapshotInfo(childSnapshotTree, selectedSnapshot);
            }
        }
    }
    

    During the passage of one of my virtual machines, here is an example of output I get:

    [2014-06-12 15:19:21.493] [I] Snapshot Tree Count: 1
    [2014-06-12 15:19:21.493] [I] ====================
    [2014-06-12 15:19:21.494] [I] Name: before upgrade to 5.0.1
    [2014-06-12 15:19:21.494] [I] Id: 31
    [2014-06-12 15:19:21.494] [I] Description:
    [2014-06-12 15:19:21.495] [I] createTime: Mon Mar 19 2012 13:48:57 GMT-0400 (EDT)
    [2014-06-12 15:19:21.495] [I] quiesced: false
    [2014-06-12 15:19:21.495] [I] replaySupported: null
    [2014-06-12 15:19:21.495] [I] backupManifest: null
    [2014-06-12 15:19:21.496] [I] snapshot id: snapshot-83
    [2014-06-12 15:19:21.496] [I] state: poweredOff
    [2014-06-12 15:19:21.496] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.496] [I]
    [2014-06-12 15:19:21.497] [I] ====================
    [2014-06-12 15:19:21.497] [I] Name: Before 5.1 upgrade
    [2014-06-12 15:19:21.497] [I] Id: 36
    [2014-06-12 15:19:21.497] [I] Description:
    [2014-06-12 15:19:21.498] [I] createTime: Fri Sep 21 2012 21:59:58 GMT-0400 (EDT)
    [2014-06-12 15:19:21.498] [I] quiesced: false
    [2014-06-12 15:19:21.498] [I] replaySupported: null
    [2014-06-12 15:19:21.498] [I] backupManifest: null
    [2014-06-12 15:19:21.499] [I] snapshot id: snapshot-84
    [2014-06-12 15:19:21.499] [I] state: poweredOff
    [2014-06-12 15:19:21.499] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.499] [I]
    [2014-06-12 15:19:21.500] [I] ====================
    [2014-06-12 15:19:21.500] [I] Name: Before Named Instance
    [2014-06-12 15:19:21.500] [I] Id: 37
    [2014-06-12 15:19:21.501] [I] Description:
    [2014-06-12 15:19:21.501] [I] createTime: Mon Nov 11 2013 13:40:46 GMT-0500 (EST)
    [2014-06-12 15:19:21.501] [I] quiesced: false
    [2014-06-12 15:19:21.501] [I] replaySupported: null
    [2014-06-12 15:19:21.502] [I] backupManifest: null
    [2014-06-12 15:19:21.502] [I] snapshot id: snapshot-236
    [2014-06-12 15:19:21.502] [I] state: poweredOff
    [2014-06-12 15:19:21.502] [I]
    

Maybe you are looking for

  • What is the maximum capacity of the disk for Satellite L300-1EI?

    Hello I have a portable Sattelite L300 - 1EI Nodel PSLB8E - 05W013H2.Currently, I have a hard drive with a capacity of 120G. There a lot of bad sectors.I would like to know what is the maximum capacity, by that I could replace. Thank you

  • Equium EA60-155 ram problem

    This weird thing with my ram got a day is the next 64 MB 256 MB any ideas and how expensive of difficulty? I'd just be able to buy more for the expansion slot? see you soon

  • c:\windows\system32\powrprof.dll has stopped working or has an error.

    I tried to open a session, but a popeed of message saying c:\windows\system32\powrprof.dll has stopped working or has an error. I'm not sure what this means or what past... I did not any changes to my computer lately. How can I fix?

  • High-speed router of the provider is located in the basement

    Hello I think buying a system of Vonage, unless someone has something better to offer.  My wireless router is in the basement because when Verizon Fios we passed to the fiber is the simplest installation method.  My question is this: with my router i

  • service packs not shown as part of windows update

    Hi, I use windows vista Basic. When I check the windows update it shows so far, but there is no installed on my computer serivce Pack. Why is it so. service packs should be not part of the windows update control Thank you