call a packed stored procedure from within another stored procedure

I have a stored procedure (STROKEQC) on a scheme that is not in a package. I want to be able to call a procedure stored that IS inside a package on the same scheme of STROKEQC. When I try the syntax below, I get an error "no function with name 'PARTICIPANTSPECIFICEDITS' exists in this area." That the procedure exists.
/*Generate admin field data*/
    execute immediate QCPROCEDURES.PARTICIPANTSPECIFICEDITS('ALL');        
    execute immediate QCPROCEDURES.GENERATE_SURGYEAR_ERRFLAG;
Is not the way to do inside a stored procedure?

Thank you!
Eva

Hi, Eva,.

You need not EXECUTE IMMEDIATE to call a stored procedure (including a procedure in a package) on the other. Just use the name and the arguments (if any):

QCPROCEDURES.PARTICIPANTSPECIFICEDITS('ALL');
QCPROCEDURES.GENERATE_SURGYEAR_ERRFLAG;

I guess qcprocedures is the package name, and participantspecificedits and generate_surgyear_errflag are procedures in this package.

In case you're wondering, the error was probably because you do not have a variable called participantspecificedits. If you had a dynamic code in a string called variable x, then "EXECUTE IMMEDIATE x"; would be the way to run it.

Tags: Database

Similar Questions

  • The call to an external application from within WebHelp

    Production of RoboHelp 8.0.2 merged WebHelp.

    I want to be able to call an external application, such as a batch file or a .exe since in a topic, or a table of contents.

    Let's convert Qt (from Nokia/Trolltech) and part of our aid will be in their QtHelp format, which requires the use of assistant.exe. Did someone do something like that?

    . MW

    Hello

    If you were using compiled HTML (CHM) format as released, I wouldn't say no problem! Use a shortcut to the HTML help control.

    Unfortunately, you ask about WebHelp. And WebHelp is a collection of this HTML pages since in a frameset. And you can't run EXE for pages HTML files. It's a security issue. Think about it. If you do, someone could build a link to an EXE file which format your HDD and it destroy.

    Click here to learn more

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • How to call a Clip to play from an another MC?

    Here is a simple, I know, but I can't seem to work or find a solution online.

    I have a movie with 2 clips on the stage, the first clip is triggered to play on click of a button (which works fine) but I want the 2nd clip to start playing when the first ends. I tried to put the script MovieClip2.gotoAndPlay (1) on the last image of MovieClip1 but I get "1120: access of undefined property.

    I really appreciate your help.

    Try using:

    MovieClip (this.parent). MovieClip2.play ();

  • Is there a way to call a MSSQL stored procedure from Flex/ActionScript...

    Is there a way to call a MSSQL stored procedure from Flex/ActionScript without using ColdFusion or another middleware?  I usually use CF, but I need to call my AS code inside MS.

    Thank you!

    Lee

    No, because you cannot expose your database server to external users. but you can call a remote method that can run your database procedures

  • Call of function/stored procedure of dashboards

    Hi all

    My requirement is to call a stored procedure /function of dashboard and display the result in the dashboard.

    I created a function that takes in 2 dates and restores the lines in this date range

    (1) creation of function

    create or replace FUNCTION FUNC3 (BDATE TIMESTAMP, EDATE TIMESTAMP) return as sys_refcursor
    R1 sys_refcursor;
    BEGIN open for r1
    SELECT * FROM EMP WHERE HIREDATE BETWEEN BDATE AND EDATE.
    Return (R1);
    END;


    (2) created a dashboard quickly start date and the end date and the variable defined as variable presentation 'Pre_B1Date' & 'Pre_E1Date '.

    (3) created a request directly to the database as

    SELECT FUNC3 (to_date (' @{Pre_B1Date} ',' YYYY/MM/DD hh: mi PM'), to_date (' @{Pre_B1Date} ',' YYYY/MM/DD hh: mi PM')) FROM DUAL

    (4) that I've created a dashboard with the above command prompt & demand live, but when I try to open the dashboard why the BI server is blocking down.

    gave me an error

    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 12002] Communication to the socket call = recv error: (10054 = number) an existing connection has to be closed by the remote host. (HY000)

    Publ. SQL: {call NQSGetQueryColumnInfo (' EXECUTE the PHYSICAL "Con pool Scott" CONNECTION POOL SELECT FUNC3 (to_date ("@{Pre_BDate}","YYYY/MM/DD hh: mi PM"), to_date ("@{Pre_BDate}","YYYY/MM/DD hh: mi PM")) FROM DUAL')}


    have one never faced this problem?

    or is there another way to call a funcation stored dashboards, /procedure
    where you can pass the variables of the presentation and view the output put this /procedure function

    Thank you
    sangov

    Yes.

    You can't return a cursor in a column in a select statement. You must use a piplined function (also known as table function).
    http://gerardnico.com/wiki/language/PLSQL/plsql_pipelined_function

    You'll find yourself with:

    select * from FUNC3(BDATE,EDATE) 
    

    See you soon
    Nico

    Published by: gerardnico on July 31, 2009 11:35 remove the data type in the select

  • Calling an Oracle stored procedure that returns a REF cursor

    Hi guys,.

    I'm calling an Oracle stored procedure that returns a REF CURSOR. Here is the piece of code that I'm working on:

    procedure TC307_MAIN (p_program varchar2, varchar2, varchar2, result_set OUT eng_cur p_engchgno p_project) as
    Start
    IF (p_program = 'Navybased' and p_project = 'PROTECTOR-BUILD') THEN
    result_set: = comments. Tc307_Eng_Chg_Rpt.TC307_RNZN (p_engchgno, result_set = >);
    END IF;
    end TC307_MAIN;

    procedure TC307_RNZN (p_engchgno varchar2, result_set IN OUT eng_cur) as
    Start
    end TC307_RNZN;

    PL/SQL code behind TC307_RNZN is big enough, that's why I've not stuck here. Basically, the second stored procedure executes a PLSQL statement and returns a result set. I need to return the result_set in the main proceedings based on nested else statement which I am still trying to build. I get a compilation... error can someone guide me with the correct method to call the second stored procedure and returning in the main proceedings.

    Thank you very much.

    Rohan,

    Try this

    procedure TC307_MAIN(p_program  varchar2,
                           p_project  varchar2,
                           p_engchgno varchar2,
                           result_set OUT eng_cur) as
      begin
           IF (p_program = 'RNZN' and p_project = 'PROTECTOR-BUILD') THEN
                  -- This is a procedure not a function
                         guest.Tc307_Eng_Chg_Rpt.TC307_RNZN(p_engchgno, result_set); --UR compilation error on this line*
          END IF;
      end TC307_MAIN;
    

    SS
    http://DB-Oracl.blogspot.com

  • How to control a VI (with a while loop and a structure of the event) from an another VI

    Hello

    I have the main VI which I want to be driven from an another VI. But I can't do that and I don't know what is happening.

    For example: VI main, I have a while loop with a structure of the event, there is a Boolean controller controlling a Boolean LED, which is inside the structure of the event. And the other VI, there is just a Boolean controller and functions of applications to open the main VI.

    How can I control the Boolean LED in VI main, changing the State of the Boolean controller in an another VI?

    Thank you.

    There are different options, but depending on what you want to do. For this example I can't give you a specific solution.

    I do not understand why you do what you do. Why do you call your 'principle VI' dynamically? What is the advantage to do? There are also other ways to call a VI dynamically, based on real cases (for example the method "call and forget", etc...).

    In you principle VI, control you Boolean ("THATCHER") is not the case of corresponding event. This is not usually a good practice, keep it inside.

    Also, why you try to communicate with the caller and callee VI through such a way to twist? There are better ways to do it.

    In one of my projects, I use the user event to launch orders in case of case of appellant VI.

    some Associates more readings for you:

    http://www.notatamelion.com/2015/03/23/how-to-make-dynamic-subvis/

    http://forums.NI.com/T5/LabVIEW/Dr-Damien-s-development-event-structures-III-communicating-with/m-p/...

  • Include XSQL page within another page

    Hello world!

    I try to include an XSQL page within another page. It seems that the page .jsf filter does not support this feature. So, I've included my page .xsql within a .jspx page that works fine on my built-in server. The problem shows up again when the application is deployed on a stand-alone Weblogic Server. I get a "XML-25013: XSQL Page URI has the value null;" "check the exact case of the name of the file." error.

    My question is, how do include you a page within another page .jsf or .jspx .xsql? I tried to use the tag "af:declarativeComponent" and "jsp: include ' tag but in vain."

    I use Jdeveloper 12.1.3 and a stand-alone 12.1.3 Weblogic Server.

    See you soon,.

    Kristjan

    I solved my problem

    Two tips helped me with my quest. The first came from this question unanswered ( https://community.oracle.com/thread/347827?start=0&tstart=0 ) and the other came from this ( https://docs.oracle.com/cd/E13222_01/wls/docs100/issues/known_resolved.html ) solved the problems of Weblogic, specifically the number of request to change CR299135. The problem, apparently, is with the .war file and the XSQL servlet way seeks the path of the file.

    By setting the parameter weblogic.xml indeed, the path can be resolved properly even in one archive .war and the XML-25013 error goes.

    After reviewing the deployment of the application on my integrated weblogic server, I noticed that the app has not been actually archived in a .war file. She was only the directory structure that imitated the .war file deployment. This is probably the reason why the app worked there.

    Thanks for all the help kdario and dvohra21,

    See you soon

  • Appeal of a variable from within an AS3 movieclip in Flash CS4

    I'm trying to back up a string variable from within a movieclip that is in an another movieclip on the main timeline to help:

    trace (VariableString);

    and also

    trace (stage. VariableString);

    No work

    The variable is a textfield of entry as well as traces very well when it is on the main timeline, but won't work inside the movieclip. I am using Actionscript 3 in Flash CS4.

    I appreciate this has probably been discussed before on this forum but I can't find an answer of difinitve that seems to work.

    Thank you

    When I put "MovieClip (root)" I tried that literally... not MovieClip1 (root).  You will need to cast to the class of the root object, who, most often using MovieClip() enough (among others, like object).

    What I don't see is happening is that you be able to get the value of the text of MovieClip1 the way that you say you do.  If MovieClip1 contains a text input component, then to get the value of this text you need to target the text property of the element inside the MovieClip1, as in...

    VariableString1 = MovieClip1.textInputName.text.

  • Hello from Firefox can be used for three or more way call or is it only from person to person?

    Hello from Firefox can be used for three or more way call or is it only from person to person?

    Hi awilcox Hello firefox time can only be used for a direct conversation between two people.

  • How to make a call on my iPhone 6 from Europe to North America?

    How can I make a call on my iphone 6 from Europe to North America?

    Is it a phone with a North American carrier?

    In general:

    Dial the international code for the country you are in, then enter the North American number with good country and area code.

    That is to say. 00 1 860 555 5555 will pay a call from the United Kingdom to a phone at the Bristol, Connecticut, USA.

    00 52 55 xxxx xxxx will place a call from the UK to a phone in Mexico

    00 1 647 xxx xxxx will place a call from the UK to a phone in Toronto, Canada

    (a)  (b)  (c)     (d)

    a U.K. international exit code

    b code

    c-indicative regional city

    number d.

  • What happens when a number of blocked calls a person and they're on another line?

    What happens when a number of blocked calls the person and they're on another line? Does go directly to voicemail, or ring several times to voice mail?

    If "on the other line" means on another call and call waiting is activated, the blocked call goes straight to voicemail.

  • Unable to print an invoice from within a Web page.

    Original title: device error message

    Unable to print an invoice from within a Web page.

    using network printer.

    Hi ColinBall,

    1. are you able to print other Web pages and other documents?

    2. you receive messages or error codes?

    If you are facing the issue when you try to print from Internet Explorer, you can read the following article and see if it helps.

    I can't print or preview before printing a Web page in Internet Explorer

    Hope this information is useful.

  • I got 2 phone calls today claiming to be from Microsoft saying that my warranty on my Windows operating system software was exhausted that my pc was sending all sorts of error messages.

    Microsft security

    I got 2 phone calls today claiming to be from Microsoft saying that my warranty on my software windows o/s was exhausted that my pc was sending all sorts of error messages for them and it was so full of spyware and malware and the only way to remedy this was to pay £80 for a years warranty and they would clean my pc otherwise if left intact it would soon crash and be unrecoverable the pc was purchased from Dixons 4 years with Vista Home Prem installed, it's just? , I thought it was a scam as it the phone number was not available, anyone else had this? .

    Here is some information on this type of scam in the United Kingdom

    http://www.BBC.co.UK/News/technology-15690898

    http://www.guardian.co.UK/technology/2011/Sep/22/Microsoft-drops-partner-accused-scam

    http://www.Microsoft.com/en-GB/security/online-privacy/avoid-phone-scams.aspx

    You are in luck, that it took so long to find you. Warn your friends.

  • You can transfer the Pack Windows Media Center on another computer Windows 8 Pro?

    When Media Center Pack goes free for win8 Pro, I submit one.

    When I update with the key Media Center Pack, I see the LICENSE AGREEMENT on the terms of transfer software.
    I have a question:
    It is said bind Media Center Pack to your computer for activation, this means that you can not transfer a Media Center Pack to another computer, but dose the win8 pro which update this Media Center Pack also link to this computer?
    Or just the Media Center Pack has been linked to, the win8 pro which update this Media Center Pack can be transferred to another computer?
    Can someone give me an official response?

    If you remove the installation of Windows 8 Pro of the current computer, then activate it on another computer, you can then move the Media Center license on another computer. Media Center license is dependent on installation of Windows 8 Pro enabled. He could never be associated with the computer because it requires an operating system.

Maybe you are looking for

  • Problem after trying to download Windows 10 on new E1 572

    My new 572 E1 (Core i7-4500U / Windows 8.1) stop at the end of an attempt to download Windows 10. Now when I press the Start button nothing happens. What can I do?

  • Video 9.2.A.1.6 on Xperia M update hangs

    The last update of video application makes the phone hang and the UI system shuts down accidentally while playing movies. The application also makes the phone a lot heat and drains the battery faster in this update from the previous version.

  • computer to the printer print

    Please help a pensioner who is a complete beginner. = problem = printer hp officejet 6500 a = more don't print laptop = hp altec Windows 8. have pulled the printer for photo windows ok. have edited the photo, I would now like to print. but when we tr

  • Canon FB620U scanner driver needed

    Hello, I tried to make a cannon scanner FB620U to work in my computer which has windows 7 operating system, but I can't get the driver. Canon website says that the operating system will run but douesn does not happen. What can I do?

  • Version of spring with rest api sites webcenter

    Hello world!I use other api sites webcenter, with this library: com.fatwire.wem.api.rest 11.1.1.8.0, com.fatwire.wem - sso-api-case - 11.1.1.8.0, com.fatwire.wem - sso-api - 11.1.1.8.0 in an application of spring with the 3.2.10.RELEASE version. And