How to get the name and number of the procedure parameter list or a function?

I stated the procedure described in the package

If I want to get the number and the name of the parameter list, so how do I it

I don't have I her name with the package.

create or replace package demoApp is

PROCEDURE insert_data (p_fname IN VARCHAR2,

p_lname IN VARCHAR2,

p_address IN VARCHAR2,

p_cellno IN VARCHAR2,

p_email IN varchar2);

end demoApp;

create or replace package demoApp body is

PROCEDURE insert_data (p_fname IN VARCHAR2,

p_lname IN VARCHAR2,

p_address IN VARCHAR2,

p_cellno IN VARCHAR2,

p_email IN varchar2) IS

EmpID number;

BEGIN

Select nvl (max (emp1.empid), 0) + 1 in EMP1 empid;

INSERT INTO VALUES EMP1 (empid, p_fname, p_lname, p_address, p_cellno, p_email);

EXCEPTION

WHILE OTHERS THEN

raise_application_error (-20001,' insert the problem ' |) SQLERRM);

END;

end demoApp;

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

I want to get the name of the parameter and the number of use of stroredrprocedure ""demoApp.insert_data " "

Select *.

of all_arguments

where package_name = 'DEMOAPP.

and object_name = 'INSERT_DATA.

Tags: Database

Similar Questions

  • How to get the return parameter in sequence teststand ran by labview labview

    Hello

    Executes a test sequence of labview (essentially running "\Examples\TestStand API\Executing sequences using API\LabVIEW\Execute with no Model.vi process") I need to get a parameter returned in 'Settings', after the sequence has run.

    My problem is that I get the value upon registration of the sequence and not the value after execution.

    How?

    Vagn

    Vagn,

    in order to obtain the values of the execution, you need access to execution. The following screenshot shows how to access.

    Please note that this VI is lying will be called by TestStand. DO NOT USE THIS VI IN A CUSTOM USER INTERFACE!

    Thank you

    Norbert

    EDIT: This dummy code shows how to read the string parameter 'Return '. Each parameter must be read separately with appropriate playback function.

  • How to get schema name and assign it to a column in the table target

    Hi team,

    I am getting the error while getting the schema name that you assign to a column target

    Implementation of the column:

    < % = odiRef.getSchemaName ("W") % >

    ERROR:

    ===========

    ODI-1217: Session TEMP (342001) fails with return code 904.

    ODI-1226: step TEMP fails after 1 attempt.

    ODI-1240: Flow TEMP fails during an operation of integration. This flow of charge target TEMP table.

    ODI-1228: failure of the TEMP (integration) task on the target of ORACLE ORACLE_MSR_SRC connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "USERINROW": invalid identifier

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    =============

    Implementation of the column:

    < % = odiRef.getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W") % >

    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.

    Task: 4

    java.lang.Exception: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: insert new lines to the line: column 0: columnNo

    at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)

    at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:737)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    Plz help me how can I get the user name ie... diagram for this target and the insertion in the table.

    Thanks in advance... Suggestions or advice much appreciated.

    Kind regards

    Khaled

    Use the Subtstitution method getInfo() Odi

    <%=odiRef.getInfo("pPropertyName")%>

    pPropertyName can be

    SRC_SCHEMA name of the schema of the data in the source environment
    SRC_WORK_SCHEMA name of the schema in the environment of the source
    DEST_SCHEMA name of the schema of data in environment target
    DEST_WORK_SCHEMA name of the schema in the environment target

    Kind regards

    Samir Bishwamilan

  • How to get the last parameter of exprision regular

    Hi all!
    I need to extract the last date in the string.
    Here my code
     Pattern pattern = Pattern.compile("(19|20)\\d\\d([- \\\\/.](0[1-9]|1[012])[- \\\\/.](0[1-9]|[12][0-9]|3[01]))?");
    Matcher matcher = pattern.matcher(text);
    
    while(matcher.find()) {
    
             
    System.out.println(matcher.group());
    How can I get the last date

    Example->

    Hello all the date is 2010-12-12 the date is 2010-10-10
    and I want to get-> 2010-10-10

    Thank you!

    Just assign the value of the find to a variable declared outside the loop. The variable will hold the last game when you exit the loop.

    Kaj

  • How to get the parameters of the effect in the CEAP?

    Hi all

    I have a problem when I want to export the settings of the effect.

    (I checked the sample project "ProjDumper").

    Yellow: layer

    Red: one of the effect (text)

    Green: the parameters of the effect (I want to export these values).

    export_problem.jpg

    Here is my code:

            // 1. use a loop to find the "Text" effect
         // 2. get all the params from this effect
         A_long iL = 0;
         A_long jL = 0;
         A_long num_effectsL;
         A_long num_paramsL;
         A_char effect_nameC[30] = {'\0'};
         AEGP_StreamRefH streamH = NULL;
         AEGP_EffectRefH effectH = NULL;
         PF_ParamType            param_type;
         PF_ParamDefUnion        param_union;
         // Get number of effects on this layer
         ERR(Suites.EffectSuite2()->AEGP_GetLayerNumEffects(pLayerHandle, &num_effectsL));
    
         for (iL = 0; iL < num_effectsL; iL++) 
         {
              ERR(Suites.EffectSuite2()->AEGP_GetLayerEffectByIndex(g_PluginID, pLayerHandle, iL, &effectH));
              
              if (effectH) 
              {
                   AEGP_InstalledEffectKey     key;
    
                   ERR(Suites.EffectSuite2()->AEGP_GetInstalledKeyFromLayerEffect(effectH, &key));
                   ERR(Suites.EffectSuite2()->AEGP_GetEffectName(key, effect_nameC));
    
                   if (!strcmp(effect_nameC, "Text")) 
                   {
                        // Get number of effect parameters from Text effect
                        ERR(Suites.StreamSuite2()->AEGP_GetEffectNumParamStreams(effectH, &num_paramsL));
    
                        for (jL = 1; jL < num_paramsL; ++jL) // start at 1 to skip initial layer param
                        {          
                             ERR(Suites.EffectSuite3()->AEGP_GetEffectParamUnionByIndex(g_PluginID, effectH, jL, &param_type, &param_union));
                             switch (param_type)
                             {
                             case PF_Param_POPUP:
                                  break;
                             case PF_Param_SLIDER:
                                  break;
                             case PF_Param_COLOR:
                                  break;
                             case PF_Param_CHECKBOX:
                                  break;
                             default:
                                  break;
                             }
                        }
                        ERR2(Suites.EffectSuite2()->AEGP_DisposeEffect(effectH));
    
                        break;
                   }
              }
         }
    

    In the SDK document, it indicates the value of PF_ParamDefUnion should not be used.

    So, how can I get these params in the effect, I put (the green line on the photo)?

    And, if there is any harm in my logic, please let me know.

    Thank you.

    > How do I know what setting is pop-menu, checkbox, or difficulty slider? (You can see the green line in the picture).

    I now just how to get the stream parameter type (type of AEGP_StreamVal: AEGP_OneDVal, AEGP_ColorVal etc.). Pop-up menu, checkbox or fix cursor parameter streams have the same type of workflow: AEGP_OneDVal.

    How to control parameter type you already posted in your code).

    > Shouldn't use a loop to get all the params?

    I also use this loop...

    > Could you please tell more in detail how to use it?

    I don't know what you want to do... I can't say more as written in the SDK.

  • How to get the number and the name of the contacts selector

    Hi all

    I got the Contact Picker work but I have no idea how to get the selected telephone number and the name.

    There are attributes that I can put like contactId.value () to retrieve or there is another way?

    Thanks in advance.

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
                                }
                            }
                        ]
    
                    }
    
                    Label {
                        id: result
                        text: "You chose contact: "
                    }
    

    Hello

    You can get the contact name and phone number as this,

    ImageButton{
                        defaultImageSource: "asset:///images/bluebutton.png"
                        onClicked: {
                            contactPicker.open();
                        }
                        attachedObjects: [
                            ContactPicker {
                                id: contactPicker
                                onContactSelected: {
                                    result.text = "You chose contact: " + contactId;
    // call a cpp method to get the details
    
    app.getDetails(contactId); } } ] } Label { id: result text: "You chose contact: " }
    

    the CPP code:

    void ContactDetails(ContactId id)
    {
    Contact contact_info = m_contactService->contactDetails(id);
    
        QString firstName = contact_info.firstName();
        QString lastname = contact_info.lastName();
            QList phoneno_list = contact_info.phoneNumbers();
    
        QStringList no_s;
    
        foreach(ContactAttribute attr, phoneno_list)
        {
            no_s << attr.value();
        }
    }
    

    You can get details like this.

    Kind regards

    Naresh Kodumuri.

  • Is it possible to get clip names and additional descriptions (and other metadata) in a report? The number, .xls or some other document available?

    I have about 12 tablespoons of images recorded on several projects. Each clip has a description added to it. I'm trying to find a way to search for a specific content easier. Since so much information was laboriously on slot form of description of metadata, it would be great to be able to use it. Which brings me to the question -

    Is it possible to get clip names and additional descriptions (and other metadata) in a report? The number, .xls or some other document available?

    Thank you!

    Karim.

    one way is to highlight all the media/bins in the project Panel and from the menu, export the batch list. This will create a .csv text file.

    There is also this option in another post, but do not know how it works. First Pro CC - how can I export metadata custom in Excel?

  • How to get the name of the bluetooth device and the name of the bluetooth device address device class?

    Hi all

    Can I know how to get the bluetooth device name and the name of the bluetooth device address device class?

    Example:-if my bluetooth device address is :-98:EB:CD:01:1F::90 then how do I get my bluetooth device name?

    I hope you understand my problem. Let me know as soon as possible.

    :

    Thanks for the reply.

  • I can't find my serial number for Photoshop Elements version 8. It came with a HP computer I bought in 2010. I recently had to do a recovery, it has been uninstalled. I moved since then and don't know how to get the serial number.

    I can't find my serial number for Photoshop Elements version 8. It came with a HP computer I bought in 2010. I recently had to do a recovery, it has been uninstalled. I moved since then and don't know how to get the serial number.

    Please explain how I can get the serial number?

    James, if it came with the machine and you are not registered, then you can't get it from the dealer where you purchased the machine. PSE 8 is now end of life and we have limited resources for the same thing, make sure you check the system requirements | Adobe Photoshop Elements if you try to install it on a new machine.

    If you want to upgrade to the latest version, you can check: photo editor, change the images. Adobe Photoshop Elements 13

    Atul_Saini

  • How to get the LOGO and company name in the theme of the 4 apex

    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.
    How to get the two logo and the name of the company?

    Thanks for your help.

    Kind regards
    Sébastien Pallav.

    Pushpesh Pallav says:
    Hello

    I use the theme 4 for apex 4.0.2.
    I must have the logo as well as the name of the company the two, but when I select den Image it shows only the image in the dashboard and when I select den text it shows the name of the company.

    The word is spelled 'then', not 'den '.

    How to get the two logo and the name of the company?

    Select the text, and include HTML, making reference to the image in the text:

    
    

    The image src URI used depends on the location of the image, which you have failed to specify.

  • How to get the name constraintlist and column in a table?

    Hello


    can someone please tell me how to get the type of constraint, and it is imposed on the names of columns in a table.




    Thank you
    Nico

    Hello

    Use the two tables:

    select * from all_constraints
    
    select * from ALL_CONS_COLUMNS
    

    Sorry SY, you were faster than me...

    Published by: user11268895 on August 19, 2010 13:27

  • How to get the name of sbRIO programmatically

    How to get the 'name' and 'Comment' by sbRIO I write to sbRIO-9602 Max in the box of Identification (model, serial number, MAC address, name)?

    Use RT Information.vi of target is located under the range of public services under LabVIEW Realtime.

    Christian

  • How to get the length and sub lymph nodes.

    Hello

    find the script below.

    < List1 >

    < list >

    < List1 >

    < List1 >

    < List1 >

    < / list >

    < list >

    < List2 >

    < List2 >

    < List2 >

    < / list >

    --

    --

    -

    -

    -

    -< / list1 >

    Here the tag list will be growing based on the I / p. Now what I want is to know how to get the length of the tag < list >.

    To implement the above I used the code below

    var number = xfa.record.List1.List [0].nodes.length; (Does not work)

    But if var account = xfa.record.List1.nodes.length; (work)

    and also I want to delete a tag inside the < List > tag. How?

    Very Urgent.

    Thanks in advance.

    Yes, you need to use the name instead of the value to get the tag name...

    xfa.datsets.data.Root.nodes.item (0) .name

    Thank you

    Srini

  • How to get the name of the current PDF file?

    Hello world

    I know this is maybe a question has been asked millions of times, but I couldn't find a straight answer.

    I am using a workflow that comes with a Content Manager Solution is not Adobe this WF will generate a file very long (about 30 characters) name that will be used as the number of unique processes.

    To go to the step next in the workflow that I have to update the table in the database and registration update will use the process number.  What I did is that I added a field in hidden text in the form, which should have the number of processes on the initialize function.

    Now my question is how to get the file name of the opened PDF file?

    I'm sure that there is a function in JS, but I couldn't find the way to do it.

    Thanks in advance guys for help.

    Mazen

    Acrobat can create LiveCycle Design possible forms, but each uses a different and different languages or syntax approach.

    There are a number of ways to get the file name and path, urt getFileName.

  • How to get the string (specified by row and column) of txt file with labview

    Hello world

    How to get the string (specified by row and column) of txt file with labview

    THX

    As far as I know, a text file has no column.  Be more specific.  Do you mean something like the 5th word on line 4, where the words are separated by a space, and lines are separated by a newline character?  You can read from the spreadsheet String function and set the delimiter to a space.  This will produce a 2D channels table.  Then use the table to index and give the line number and column number.

Maybe you are looking for