Need the current package name

I use 10g and need to get the package name for the package running on the time of execution. I can write/hard_code value, but needing a dynamic variable that stores the package_name during execution.

You looking for something like __PACKAGE__ variable in Perl.

Thank you.

$$ plsql_unit.

Tags: Database

Similar Questions

  • get the current event (name) of a field - possible / how to?

    Hello

    I wonder if it is possible to get the name of a field as event:

    (form.pag1.mytextfield::enter - JavaScript, client)

    var eventname = this.MagicJSfunction();
    

    It is of course possible to get the current name of the event with:

    (form.pag1.mytextfield::enter - JavaScript, client)

    var eventname = event.name; 

    It's a shame it's always = 'Focus' wherever I use it (form.pag1.mytextfield::ENTER - JavaScript, client) (form.pag1.mytextfield::EXIT - JavaScript, client)

    (form.pag1.mytextfield::enter - JavaScript, client)

    my_scripting_obj.my_set_design_function(this, eventname);

    Reason:

    I use to change the structure of a field in realtion to his event in my script object. By calling the function of my script object, I'd use some copy/paste.

    I have more than 120 field where this function must be called to enter and exit the event.

    Hello

    Does that help? http://assure.ly/h8ZLr5.

    In this case, I call the function entry and exit of the events of each field.

    Niall

  • How to get the current file name and & or path

    How can I get the current path or the file name?

    I have really found the answers in the net. This.Path or app.path have been proposed, but I couldn't make it work.

    Thanks in advance for your answer!

    LiveCycle Designer ARE 8.2.1.3144.1.471865

    Hello

    event.target.path.toString ();  will give the full path, including the file name.

    event.target.documentFileName.toString ();  will give the file name only.

    Good luck

    Niall

  • How to put the name of the Module file and use the current file name in the code?

    Hello

    I create SequenceCall (in MainSequence), but there must be the Module file name and existing file where the module. I found an old function that are not part of the API (TS_SequenceCallModuleSetUseCurrentFile() and TS_SequenceCallModuleSetSequenceName(). Those who are in the help file, but not in tsapicvi.c.

    You can help someone with this (CVI code)?

    Best regards

    branar

    Hello

    Problem is solved using different fp (tsadpcvi.h, tsadpcvi.c). Instead of using tsapicvi.c with TestStand 4.2, the missing functions were found in tsadpcvi.c with TestStand 2010).

    Best regards

    branar

  • Why Firefox displays characters Asian trash for each name on the tab instead of the current English name?

    After a few use firefox displays (repeated) Asian characters instead of real names of tab. (See attached image).

    He arrived in at least 2 computers. Usually, I install the same Add-ons with fees installs Windows.

    The extension of McAfee SiteAdvisor has been reported to cause problems with Chinese characters (CJK) text on tabs, so that you can disable this extension until McAfee publishes an update to resolve this issue.

  • How to determine the owner of the current package?

    Leave a package (which is defined with the appellant's rights: AUTHID CURRENT_USER) I want to determine the owner of this package. (We intend to deploy the same code in multiple schemas).

    A solution would be to analyze the results of the DBMS_UTILITY.format_call_stack... to other ideas?

    Thank you
    Mike

    Here's some code which proves padders suggestion

    create or replace function WhoAreYou return VARCHAR2 as
    begin
      RETURN SYS_CONTEXT ('USERENV', 'CURRENT_USER');
    end;
    
    create or replace procedure WhoAmI
    AUTHID CURRENT_USER as
    begin
        DBMS_OUTPUT.PUT_LINE('I am [' || SYS_CONTEXT ('USERENV', 'CURRENT_USER') || '].');
        DBMS_OUTPUT.PUT_LINE('You are [' || WhoAreYou() || '].');
    end;
    
    grant execute on WhoAmI to scott
    
    exec bm.WhoAmI()
    
    I am [SCOTT].
    You are [BM].
    

    With this approach, it does not matter if we use a synonym or someother 'usurpation' method. The 'Stunt' tell you who he is.

    -Edited to complete the sentence
    I suggest you avoide trying to determine synonym against the table and all these complications.

    Published by: rp0428 on March 2, 2012 14:54

  • Display the current user name in a text field

    Hi I did a request where a particular user can open a question. I want to display the scourge of the user in a text field for that when I click on save the number is registered with my other details.

    My question is how can I display my username in my form?

    Put it in the default value of the text element and make sure it is set to "Static text with Session of Substitutions in State" (and don't forget the full stop at the end).

    See you soon

    Ben

  • FATAL: An error has occurred in the download package (name: AdobeIllustrator19-Core Version: 19.2.0.111). Error code: '126'

    Uninstalled Illustrator. now can't reinstall. Cannot find a phone number to contact Adobe. Help?

    I'm ready now. Called Adobe support and that of their technicians helped me.

    Thank you.

    Sensitive information, edited by ADMIN *.

  • How can I create a new all-white or all-black layer without changing the current foreground color or background?

    I need to create a filled layer of black or white.  I need to do WITHOUT changing the current foreground or background colors. So I can't use the bucket tool. The reason is that I have created these layers inside Action and the need the current colors remain unchanged.

    Here's the easiest way I found to date:

    1. Layer-> new fill layer-> solid color...  Select one of the choices other than 'None '.  In the color picker dialog box, place the code hex #fff and click OK
    2. Layer-> rasterize-> content fill
    3. Layer-> Layer Mask-> remove

    Can someone suggest a simpler method?

    You can simply create a new empty layer and then go to Edit > fill and choose either black or white

  • How to get the current date in the hcsf page

    Hello

    My code is
    <td width="20%"><b>Date:</b></td>
    <td width="40%"><input type="date" value="<!--$dcreateDate-->" size="50"></td>
    in the second line of this code, I need the current date, I tried this but it dint work, please guide


    Thank you

    http://docs.Oracle.com/CD/E28389_01/doc.1111/e10726/c08_config_ref.htm#i1285787

    Below the overall function should help you by top link check the other appropriate function you're looking for

    <$formatDateWithPattern(dateCurrent(),"yyyy-MM-dd")$>

    Kind regards
    Amol Germain

  • I have a site designed iWed which I can't = up to date. I want to design a new Web site with a different place (everweb?) How can I get rid of the current site? I want to use the same domain name.

    I have a designed iWeb site I need to update. I know I can't use iWeb so want to design and publish a new Web site. I want to use my current domain name. How can I get rid of the existing site?

    So, you want to delete this Web site. That's right?
    If so, you can make trought accessing the website 'admin panel' or 'FTP '.

    An administration panel (or "administration panel") is a site that your host/domain provides to you, where you can change everything you want - even is for 'FTP', 'FTP' is a server where you access your Web site and change what you want, and that includes delete the current Web site.

    Questions please ask.

  • Can I hold ThisContext go a step and use it in a later step to find the name of the current stage? Error 1 when retrieving the name of the step.

    I am trying to create a generic message using LVOOP logging class.  The recorder would include information on stage during execution (name, sequence, etc.).  I would like to create the message object log and then move it into another object (communication, controller of oven, etc.).  Everyone should get its own copy.  None of this is a problem to date.

    I found ways to gather the necessary information to ThisContext.  However, this only seems to work if ThisContext is spent in running step.  If I want ThisContext in LVOOP, the next step to try to use causes an error 1 "an input parameter is incorrect."  Is it possible to get this kind of information (name, sequence, etc.) without ThisContext in at each stage?  It would be inappropriate to do so, but if necessary I will.  It does not go against LVOOP.

    Summary: Can I hold ThisContext go a step and use it in a later step to find the name of the current stage?  If not, is there an effective way to do this?

    My solution was to store the reference to thread.  At each step, I can retrieve the current context.  This is valid only in a thread, but meets my needs.  I could also move something to a higher level, but it would need to know the thread that interests me in any case.

  • Get the name of the current stage of MainSequence in parallel sequence

    Hello

    I starts a sequence in parallel of the MainSequence by "use new run." This parallel sequence is constantly in querying CPU performance data for my USE and records 'on the fly' an Excel file while the MainSequence turns the test scenario.

    To get a clear reference of the performance of the CPU DUT to test steps, I need to somehow get the name of the step of the test step currently performed in the MainSequence for saving it and the CPU performance data.

    Is it possible to identify the current stage of the main sequence in the parallel sequence (for example, property)?

    Thanks in advance,

    MRet

    Rette01 wrote:

    Hi Doug,.

    Finally, we have updated to TestStand 2013 and try to use your example.

    We have some problems to get the referral of wire, which is replaced by "threadToMonitor" in the expression you have posted, as far as I understand.

    The thread to monitor is the MainSequence. So, how can I get a reference to the MainSequence?

    Kind regards

    Rette01

    Pass RunState.Thread as a parameter to the call of the sequence. The parameter must be specified as an object reference variable.

    -Doug

  • How can I get the user name of the current user? Not the name of the user, but the user name is connected to.

    Anyone know how I can get the username of the current user? Not the name of the user, but the user name is connected to.

    Thank you!

    Only two variables that Captivate allows to work with are cpQuizInfoStudentName and cpQuizInfoStudentID, but the latter is only really designed to be used for the internal information server, not a typical SCORM LMS solution.

    Sounds to me like you may need to get hands on with the services of a JavaScript programmer.

  • I currently have the plan of photography, I want to upgrade to the full package

    Why, when I try to upgrade to the full package, what is proposed, it is quoting me the full price?

    Hi Gareth,

    You will need to cancel the current subscription and subscribe to the complete package.

    The price will be the actual price that is in charge of the subscription.

    Otherwise, you can check with the Adobe sales team.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Kind regards

    Sheena

Maybe you are looking for