Stand-alone procedure call

I have this code where I have a package pkg_1 that has 2 procedures pr1 and pr2 (local) below. There is an another standalone procedure pr2. I invoke the procedure inside the pkg_1 pr1 which inturn calls pr2. Ideally, he would call the local pr2 inside the packaging. Anyway is to call the standalone procedure pr2?

Here is the code with the result-

/ * Formatted on 22/12/2015 18:51:59 (v5.256.13226.35510 PS5) * /.

CREATE or REPLACE PACKAGE pkg_1 BODY

AS

PROCEDURE pr2

IS

BEGIN

Dbms_output.put_line ('inside the package of pr2");

END;

PROCEDURE pr1

IS

BEGIN

Dbms_output.put_line ('inside the package");

PR2;

END;

END;

/ * Formatted on 22/12/2015 18:52:03 (PS5 v5.256.13226.35510) * /.

CREATE OR REPLACE PROCEDURE pr2

IS

BEGIN

Dbms_output.put_line (' independent-2 procedure' ');

END;

/ * Formatted on 22/12/2015 18:52:11 (PS5 v5.256.13226.35510) * /.

BEGIN

pkg_1.PR1;

END;

RESULT-

Package upside

Pr2 upside package

A way would quote the pr2 with prefix of the schema within the packaging

. PR2

Tags: Database

Similar Questions

  • Appeal procedure of stand-alone forms 6i

    Hello.

    I have the procedure proc_name in stand alone in the scheme of DB SCHEMA_1. In Forms6i I have form with button. In which key press triger I call this procedure by name PROC_NAME (parameters). When I connect aplication forms as owner of this procedure everithing works fine, but when I login as another user (not the owner) always throwing error as proc_name is not declared. When I call the procedure with the prefix of the scheme I can't compile in Forms 6i because of stupid mistakes.

    What I shoul do? Can I call this procedure or should I Pack to package?

    THX

    If you want to access an object to a different schema of users or you will need to prepend the name of schema, or you must create a synonym for it.

    Synonyms can be public or private to a user for all users.

    CREATE PUBLIC SYNONYM PROC_NAME FOR OWNER.PROC_NAME;
    
  • Direct procedure call put in cache?

    Hello

    running 2.0.2.133.14.47 under WLS earpiece.

    I asked a similar question before but did not have a good answer, https://forums.oracle.com/thread/2292910

    I have a packaged procedure that prints a web page by using htp.p ().

    Sometimes (I can't reproduce at will) result of the procedure is not updated when I refresh the page in the browser.

    In other words, pressing F5 (or Ctrl + F5) gives an old result.

    I have written and granted to apex_public_user this package:

    CREATE OR REPLACE PACKAGE BODY callpack AS
    
    PROCEDURE calltest (param varchar2 default null) IS
    BEGIN
      htp.p('<div>You gave me "'||nvl(param,'&lt;null&gt;')||'". The time is '||to_char(sysdate,'HH24:MI:SS')||'</div>');
      for i in 1..1000 loop
        htp.p('<div>1000 rows of meaningless content</div>');
      end loop;
    END calltest;
    
    END callpack;
    /
    

    I called it my browser like this: http://Server/Apex/my_schema.callpack.CallTest

    I first had once again with each update (F5). After leaving it for a few minutes and try again it got "stuck". Each update now gives me the same answer.

    The response header for this apparently cached page looks like this

    Accept-Ranges    bytes
    Age    1250
    Connection    Keep-Alive
    Content-Encoding    gzip
    Content-Length    423
    Content-Type    text/html; charset=UTF-8
    Date    Thu, 07 Nov 2013 10:20:22 GMT
    Vary    Accept-Encoding
    X-ORACLE-DMS-ECID    632c140cd74ad62b:281ea775:1410befd01e:-8000-0000000000d03396
    X-Powered-By    Servlet/2.5 JSP/2.1
    

    I also compiled and granted the above packaged as stand-alone. (Yet), it is not cached. There response headers:

    Connection    Keep-Alive
    Content-Length    49
    Content-Type    text/html; charset=UTF-8
    Date    Thu, 07 Nov 2013 10:20:08 GMT
    X-ORACLE-DMS-ECID    632c140cd74ad62b:281ea775:1410befd01e:-8000-0000000000d04f52
    X-Powered-By    Servlet/2.5 JSP/2.1
    

    In addition, restart the server, the only way I know to make the listener actually call the procedure when the caching is to change the case in the url.

    So if http://server/apex/my_schema.callpack.calltest is cached, I can get a new page using http://server/apex/My_schema.callpack.calltest

    Or I can add a parameter (? param = X) I have change when I want news.

    If someone has noticed this?

    Is there a mechanism for caching in the listener (for pl/sql-calls direct approaches)? Or is it WebLogic do something... sometimes...

    Kind regards

    Tomas Albinsson

    Hi Andy,.

    Yes, you are right, something has been cached.

    When I used the actual server name instead of the DNS name official, is no longer being cached.

    Turned off some caching was performed by the load balancer who responded on the official name.

    This has now been turned off and the problem is solved.

    Kind regards

    Tomas

  • Creation of stand-alone executable file with similar library files without errors of link

    I have an Executive Test that is run on two different test systems. Each stand has another card ARINC429. The old card use 429dll32.lib, while the most recent map use pci429.lib. Test Exec code only loads a single library file (using LoadExternalModule) depending on what the test bench has the card, but since there are many similar functions in both, ICB does not test Exec be built as a stand-alone executable.

    In CVI 5.0.1 I opens the "Create stand-alone executable file" and select "add files to the executable. I check the 429dll32.lib and the pci429.lib to include in the creation of executable, and then click 'OK '. When I click 'OK' to create the executable I have several link errors, one for each function both .lib files have in common.

    Is it possible for each of these .lib files to be included in the compilation without having to create two separate executables?

    eatmontr:

    If you use LoadExternalModule(), you need not include the .lib files in the Executive test project.  Refer to the CVI for LoadExternalModule help.

    Here's the info on the help:

    LoadExternalModule loads an external object module file. You need not list the file in your project or loaded as a module of an instrument.

    The file may be an object (.obj) file, a library file (.lib) or a library (.lib) import DLL.

    Here are a few articles to OR who can help.

    To access the plug-ins with CVI (with sample program) http://zone.ni.com/devzone/cda/epd/p/id/133

    How do I call dll if I have two functions with the same named in two different dll? http://digital.NI.com/public.nsf/allkb/5299ED8D43F3B5FE852563BF0056EBA6

  • Using an FPGA as a stand-alone system to run labview 2012

    Hello

    I have a request for my main project which is built using Labview 2012 and I want to transfer to a FPGA as it becomes a stand-alone system with no attached PC. I saw that labview for this but I do not know what card FPGA and the labview libraries are able to do this, and what is the mechanism to do this.

    Software details: LabVIEW Professional Development System version 2012
    Operating system: Windows 10

    T2dei wrote:

    What about Xillinx Zedboard? Y at - it approach to transfer of LabVIEW code directly without the conversion, in the zedboard?

    N ° Code LabVIEW FPGA only works on FPGA boards OR.  If you give us a better idea of what your project and what you want, we could probably give you a better recommendation.

    Furthermore, since this is for reasons of the student, give your representative OR a call and maybe they can cut you a deal on a Board sbRIO.

  • stand alone application with DAQ

    Hi all

    I had a problem with my stand-alone application in the target computer.

    My program has a under that VI named Igenerator, which generates the current with the NI 9265 connected with all 4 channels.

    When the installation of the application program, I have construction included applications NOR-DAQmx development and thereby support

    target Setup that my application could be opened correctly on the computer.

    However when running the application in my computer (with the NI 9265 connected), the outcome of the program that I can

    see that there is no power out of NI 9265, so this is a problem to transfer my original computer DAQ hardware parameters where

    the project has been generated to my target computer, isn't it?

    To solve the problem, I found this link: http://www.ni.com/white-paper/5406/en, seems that the trick is in the final stage of construction

    the installer I should include a hardware configuration. But how? This link fails to clarify this for me, and I tried to "configure."

    and export all my task of current generation of MAX in the file "configdata.exe" and I clicked on 'Building', it seemed fine, but in my target

    computer after that I configured Setup, my request still has no output current of NI 9265.

    Someone got any idea how I could achieve that? And an any mistake of my procedures, I did? Thank you

    Chao


  • Check if a VI runs as a Subvi or stand-alone

    I have a set of measurement screws that I use as a stand-alone screws and buried deep inside the other screw that perform many different measures. Because I turn the screw, sometimes they have to initialization, VISA Open and Close VISA within structures case that I wired to a Boolean (is Standing Alone?)

    Is it possible for the VI to determine if she is standing alone or be called without having me switch the Boolean value all the time. It would be nice if I didn't have to worry that every time that I the screws on their own.

    I looked in the nodes property "" appellants names"and"Type VI", but they do not seem to be useful. Is there an other way to check if the VI is running on its own or has been called from another VI?

    Use the function to the calling chain.  If the number of elements returned in the array is 1, then the VI runs highest.  If it is greater than 1, then it is a Subvi.

  • using a VI to open another stand alone program

    Hey guys,.

    I would like for my program to be started by the user and some bring to pour some selections that would then open up a new program stand alone. Where each individual program would actually the bulk of the program as a whole and perhaps utalize its own probably producer consumer model. Once the secondary program ends, I would like it to return to the original program for the user to make new selections and open an another prgram.

    to me, this feels do able as having essentially a main loop that calls functions only.

    If someone could just link me an article or something that would be great. I was looking around and found something on this call chain VI, is part of what I need?

    also, I'm always open to suggestions if this seems to be difficult to follow way or a wrong way to do it.

    Thank you guys

    You can do this visually adjusting the Visual parameters on your VI.

    I usually use a custom configuration and call before Panel.Window.State property on your VI, it should look like this:

    Do the reverse on your slot - VI and you will get a break. You will also need to make some changes to the section of the appearance of the properties of the VI window.

    This will give you a visual appearance and the type of break you're looking for.  Also, you probably want to use a structure of the event as your main loop function.

    Kind regards

    Tim

  • Using PHP to develop stand-alone applications

    Hello, is it possible to use my existing PHP skills to develop a stand-alone application for the PlayBook? (offline)

    There is a product called Adobe ' Flash Builder for PHP ", but after having waded through tutorials, I'm not sure if this is the right product. Tutorials mainly speak on the development of a web application that allows the connection to the server live, which is not what I want.

    No, PHP is a language server side, not for applications on the client side. If you know PHP you know probably HTML5/JS too, then WebWorks would probably be the best place to start. If you want to go on the road to Flash/AIR, you will need Flash Builder 4.6 (standard or premium will do) or Flash Professional CS5.5.

  • Management Center of firepower of Cisco on the stand-alone server

    You can install a management center of firepower of Cisco on a stand-alone server and not a virtual machine?  Here is a guide for the virtual machine:

    http://www.Cisco.com/c/en/us/TD/docs/security/firepower/60/Quick_Start/m...

    but I couldn't find one for a stand-alone server. Or what I can use this procedure for a stand-alone server.

    Looks like the only option of will not not with a virtual machine is to get the device itself.

    Thank you

    To install on a server bare metal, you could first put ESXi (free version) on it and then run FMC as the virtual machine only on that. I've had clients do this and it works fine.

  • Can possible save of Cisco DCNM on NFS and FTP on the stand-alone dcnm Server

    Can anyone suggest me that how I can back up the database DCNM 7.2 for a stand-alone server on NFS /FTP?

    What is the procedure to perform the backup on server NFS /FTP?

    Is any dependency to take backup on remote servers from stand-alone server DCNM (not HA)?

    Hello

    VIEW includes a database backup utility in the $INSTALLDIR/dcm/directory/bin/view.  There are 2 versions of the script, one for Oracle and one for postgres databases, and they both can be run from the server command line.  These scripts will create a dump (.dmp) database file which you can ftp offshore to another server to files, if you wish.

    For reference, here is the documentation on backups of db VIEW:

    http://www.Cisco.com/c/en/us/TD/docs/switches/Datacenter/SW/7_2_x/Fundam...

    Thank you

    Eric

  • Stand-alone configuration SX20

    Hello people,

    I'm trying to confugure a SX20 as a stand-alone box, which means that this SX20 will be registered in a CUCM or VCS. I just set up an IP address and get on h323 as static and live mode. However the H323 seems to be inactive. When I try to call to a Polycom, we can make the call. In the diagnostic tool. The diagnostic tool shows the following warning:

    WARNING: Default call Protocol

    The default call protocol is set to H323, but the system is not registered on this Protocol. The system isn't able to make all the calls. Please eitherchange the default call Protocol, verify that Protocol is enabled, or check the configuration H323..
    Could you please help me...
    Thank you!

    Hi Jorge,.

    You can ignore this message because this will show if your devie is not registered on any guard for H323.

    as you use to direct IP to IP call, you h323 is inactive and it will show the above error.

    climbing, you can ignore this message.

  • BlackBerry Smartphones stand-alone mode

    Is there a stand-alone for the BlackBerry 8330 mode so I can listen to music or play video games while plane?  It allows the unit to be on, but calls or e-mails aren't coming through.

    Welcome to the forums.

    Yes, you can simply turn off the wireless.  Click on icon to manage the connections, then click on disable all connections.

    When you land, go back and click on enable all connections on.

  • CVP: Survivability on a stand-alone scenario

    Hello

    According to CVP 3.1 SRND survival is not supported on a stand-alone scenario.

    In any case, if the CVP is down or unreachable.

    I should be able to get in touch with a

    predefined IP phone extension.

    Is this something we can do on the voice gateway configuration?

    Survivability.Tcl can be used as well?

    Any help will be apreciated.

    Christian

    Hi Christian,

    first of all, you have the option of deploying a doorman and if the CVP doesn't return the call to the custodian to send it directly to an extension of call manager.

    If I recall right in your scenario, you have a GK, I think you can try to play with the priority of dialpeers and have a second available dialpeer in which case the SVC is not, this has some issues that you need to monitor closely, if your solution is to take more calls, you designed for summits, then this lower dialpeer will try to route the calls that would be otherwise treated alongside in CVP.

    Third alternative uses a tcl script custom as you suggest, but it would not be easy to overcome the limitation even recommend do not deploy in a stand-alone environment.

    Kind regards

    Riccardo

  • Conversion of Cisco Aironet 1130AG light in stand-alone mode

    Hello

    I just bought AIR-LAP1131AG. Unfortunately, I want stand-alone and not lightweight fashion.

    Yes, is there a procedure to convert to "AIR-AP1131AG?

    Thank you.

    Hello Michael,

    Yes, please follow this procedure for TFTP Re-imaging

    / * Style definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-priority: 99; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman", "serif" ;} "}

    1) Go to your Computer and from the tool menu -> folder options ->uncheck the hide extensions for known file types option. 
     
    2) Download the IOS image ( you can get this ios image from cisco.com) on your desktop.
     
    3) Rename the image into c1130-k9w7-tar.default
     
    4) Give your computer Ethernet an address in the range 10.0.0.2 till
    10.0.0.30
     
    5) Run the tftp server on your computer.
     
        - Make sure that the directory of your tftp server is the desktop.
     
        - Specify the AP address on the tftp server if needed.
     
     
    6) Connect the AP to the computer with Ethernet cable.
     
    7) Remove the power from the AP.
     
    8) Press and hold Mode button on the AP, and insert the power jacket in the AP.
     
    9) Keep pressing on the Mode button for (20-30 seconds) until you see RED Led.
     
    10) Wait until the image installed and all led lights return to green 
     

    doesn't make sure that no firewall or antivrus is running on your computer.

    I hope this helps.

    Kind regards

    Talal

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

    Please note the answers that will help you

Maybe you are looking for