Pl/Sql package

KIM

can we call pl/sql package as part of OSTEOARTHRITIS

Hello

Yes, it is possible. You can use a callable statement. Read more in old wire and dev guide.

Thank you
-Anil

Tags: Oracle Applications

Similar Questions

  • Cannot query a view in PL/SQL package but it can query in SQL * more

    Hello

    Logged on as a user, I can query the table DBA_SEGMENTS, but I can't question via a slider or select from a PL/SQL package.

    I get the following error message:

    LINE/COL ERROR

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

    28/4 PL/SQL: statement ignored

    33/5 PL/SQL: ORA-00942: table or view does not exist

    28 select

    29                             count(*)

    30 in

    31                             n

    32 of

    33 dba_segments;


    Can someone explain to me what is the missing privilege that I need?

    Thank you in advance.

    Kind regards.

    It seems that you have granted to dba_segments by role.

    To use this object in pl/sql or sp, you need directly.

    Ask your dba to grant:

    SQL > grant select on dba_segments to your_user;

    Mustafa DOGANAY

    http://Doganay.WordPress.com

  • How can I expose a PL/SQL package to a webservice

    Hello

    Using Jdeveloper 12 c, how can I expose a PL/SQL package as a webservice?

    Thanks in advance

    Look for the option 'Web of TopLink-DB services provider' under the section of Web Service in the new gallery.

    Timo

  • Create the PL/SQL package in SQL Developer 4.0.0.12

    Hello

    I built a model in SQL Developer 4.0.0.12 and I want to create a PL/SQL package.

    In ODMiner 11.1.0.4 of 'Tools' > 'Create pl/sql package' I can get a script to create the package and every thing is OK.

    but in SQL Developer, I select "Deploy" from the popup menu of each node and it generates a folder containing scripts associated with each node. I don't see any relevant script for creating a package.

    How can I create a PL/SQL package in my workflow?

    Thanks for any help you can provide in this situation.

    Please see this whitepaper to find out how to build the PL/SQL package for deployment of workflow:

    Oracle Data Miner (Extension of SQL Developer 4.0)

    PL/SQL script for the deployment of workflow

    http://www.Oracle.com/technetwork/database/options/advanced-analytics/odmrcodegenwhitepaper-2042206.PDF

  • Problem building java pl/sql package

    Hello

    In JDeveloper (11.1.1.6) I'm having a problem of java generation from a pl/sql package. When I'm in the database browser I click with the right button on the package and select "generate java. Which produces java files, some sqlj files and a < package_name > .javatmp file. When a colleague doing the same thing all the files are generated with the .java extension. Can someone tell me what I can do to build all the java files?

    Thank you

    Graeme

    It turns out that I was running against a 64 bit JDK. (1.6.0_41.)

    When that face a 32 bit JDK (also 1.6.0_41), I've changed my problem disappeared.

    It might be interesting to note that my machine is 64-bit.

  • Node affinity d ' execution for the PL/SQL Packages?

    Colleagues dbas,

    We have a problem of random performance on one of our database RAC 11 GR 1 material due to waiting for IO.

    In fact, we've tracked down the problem and noticed that the sql packages are executed on the bad weather causing node 1 and were executed on node 2 with good results.

    Now the question is how we apply these pl/sql packages, that are called via batch external, must be running on node 2?

    Affinity of the proceeding came to my mind, but I have no idea whatsoever how to apply for parcels and incorporated the pl/sql code.

    Can you please give me an advice?

    Thanks for your comments!

    Best regards

    Sebastian

    You must define a service to run on node 2 with failover to node 1 and give a your batch jobs a string of connection that connects to this service:

    Add srvctl service d a s batchserv - r node2 - a node1

    and in your tnsnames.ora,.

    batchserv =

    (description =

    (address_list =

    (failover = on) (load_balance = on)

    (address = (node1...) (address = (node2...))

    )

    (connect_data = (service_name = batchserv))

    )

    I recorded several demos of this thing of the kind,

    Database Oracle 12 c and g 11 tutorials free for Administration and developers SkillBuilders

    --

    John Watson

    Oracle Certified Master s/n

  • Call a pl/sql package unix script

    Hello

    With the help of 11.2.0.3 on AIX.

    Is it possible to call the pl/sql package unix script?

    I am cretaing a file in a directory but would like it to automatically write to a directory to archive as well.

    Could use either 2 utl_file.put_lines to 2 separate directories or 1 utl_file and cal script to archive files in another directory. ?

    Thoughts?

    Thank you

    user5716448 wrote:

    Thoughts?

    Use UTL_FILE. FCOPY copy the file you created in the directory of the archive.

    SY.

  • PL/SQL package, output XML

    Hello

    I'm working on the Pl/sql package to generate the output in xml format using tags XML, but the output is the break with the following error when data have special characters as '& '.

    Error:

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    Whitespace is not allowed at this location. Error processing resource

    I use the <? XML version = "1.0" encoding = "ISO-8859-1? > and even tried "UTF - 8' at the beginning of my xml." Anyone can guide me please how I can handle this.



    Thank you!

    Can you guide me on how I can use CDATA for this specific tag.

    XYZ & Co. Inc.

    SQL> set scan off
    SQL> select xmlelement("CUST_NAME", 'XYZ & Co. Inc') from dual;
    
    XMLELEMENT("CUST_NAME",'XYZ&CO
    --------------------------------------------------------------------------------
    XYZ & Co. Inc
    
    SQL> select xmlelement("CUST_NAME", xmlcdata('XYZ & Co. Inc')) from dual;
    
    XMLELEMENT("CUST_NAME",XMLCDAT
    --------------------------------------------------------------------------------
    
     
    

    -First method automatically escapes the characters not valid and replaces them with their corresponding entity reference
    -Second method encapsulates the data in a CDATA section so that there is no need to escape

    You can build the entire XML document with these functions, that's exactly what they did:

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb13gen.htm#g1047191

  • How to enable and disable a simultaneous program to a Pl/sql Package

    How to enable and disable a simultaneous program to a Pl/sql Package

    I just want to know why this not prvent not the program to run, it updates the backend for open State helped N, but not in Frontend.

    If you can advise on the same.

    Did you use the API to change the ENABLED_FLAG of 'Y' "N"? If so, you commit the changes? What happens if you ask this program contributing to the application (simultaneous > program > set), can you confirm that it is disabled then if this has been done since the backend? The program remains active after the deactivation of the application it?

    Thank you
    Hussein

  • JAX - WS WebService on a PL/SQL Package

    Hello
    Does anyone know how to create a Web service from JAX - WS based on a package of pl - sql using JDeveloper 11.1.1.3. This is what JDeveloper cannot consume the wizard generated JAX - RPC style web service based on a PL/SQL package.


    Thank you

    Another question, we can create or have you already tried to create a Web service in the EOs or your at least their implementations of java.

    Service enable your application module and expose the methods you like of your. Read the doc here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcextservices.htm#CJAJGIEB

    Timo

  • PL/SQL packages

    How to find a particular PL/SQL Packages for an Oracle database is installed or not?
    For example, I want to know UTL_MAIL package is installed or not?

    Oracle 10g R2

    Thank you
    Smith
    SQL> desc utl_mail
    PROCEDURE SEND
     Argument Name               Type               In/Out Default?
     ------------------------------ ----------------------- ------ --------
     SENDER                VARCHAR2          IN
     RECIPIENTS               VARCHAR2          IN
     CC                    VARCHAR2          IN     DEFAULT
     BCC                    VARCHAR2          IN     DEFAULT
     SUBJECT               VARCHAR2          IN     DEFAULT
     MESSAGE               VARCHAR2          IN     DEFAULT
     MIME_TYPE               VARCHAR2          IN     DEFAULT
     PRIORITY               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SEND_ATTACH_RAW
     Argument Name               Type               In/Out Default?
     ------------------------------ ----------------------- ------ --------
     SENDER                VARCHAR2          IN
     RECIPIENTS               VARCHAR2          IN
     CC                    VARCHAR2          IN     DEFAULT
     BCC                    VARCHAR2          IN     DEFAULT
     SUBJECT               VARCHAR2          IN     DEFAULT
     MESSAGE               VARCHAR2          IN     DEFAULT
     MIME_TYPE               VARCHAR2          IN     DEFAULT
     PRIORITY               BINARY_INTEGER          IN     DEFAULT
     ATTACHMENT               RAW               IN
     ATT_INLINE               BOOLEAN           IN     DEFAULT
     ATT_MIME_TYPE               VARCHAR2          IN     DEFAULT
     ATT_FILENAME               VARCHAR2          IN     DEFAULT
    PROCEDURE SEND_ATTACH_VARCHAR2
     Argument Name               Type               In/Out Default?
     ------------------------------ ----------------------- ------ --------
     SENDER                VARCHAR2          IN
     RECIPIENTS               VARCHAR2          IN
     CC                    VARCHAR2          IN     DEFAULT
     BCC                    VARCHAR2          IN     DEFAULT
     SUBJECT               VARCHAR2          IN     DEFAULT
     MESSAGE               VARCHAR2          IN     DEFAULT
     MIME_TYPE               VARCHAR2          IN     DEFAULT
     PRIORITY               BINARY_INTEGER          IN     DEFAULT
     ATTACHMENT               VARCHAR2          IN
     ATT_INLINE               BOOLEAN           IN     DEFAULT
     ATT_MIME_TYPE               VARCHAR2          IN     DEFAULT
     ATT_FILENAME               VARCHAR2          IN     DEFAULT
    
    SQL> 
    
  • Necessary to detect the DB start and run a PL/SQL package

    Hi all
    Is it possible to run a pl/sql package every time that the database starts?

    Thank you very much in advance.

    Start trigger

  • OK to install the pl/sql packages in schema APPS?

    What is the schema supported in which I should create my pl/sql packages used in my data models? I'm in EBS and sown reports such as RAXINV, I converted to XML Publisher.

    I have converted RAXINV works very well under APPS, but now my admin db suggested I should move "customized" packages to a seeded non - EBS schema (for example, XXABC). I have all kinds of problems to do this work.

    When you create the package in another schema, use AUTHID CURRENT_USER.

  • Need to call the PL/SQL Package in the group dynamics of approval class that implements IDynamicApprovalGroup

    Hi all

    This is regarding the approval of invoice AP I need in my project where the user selects the users/people approval when creating the invoice based on logic. There may be any number of users who could be part of the approval group.

    Approval users information is stored in a table with a single Bill.

    When the user initiates invoice approval, approval of the Bill should go to all the people/users selected in the invoice.

    I created the dynamic of approval group which is the result of a java class. This java class implements IDynamicApprovalGroup. (what is the oracle Developer Guide).

    I called PL/SQL to java class package to get all the details of users of custom for the current invoice table.

    I used the DriverManager.getConnection method by hard coding (JDBC URL, Username, Pwd) connection details that works perfectly fine.

    But I don't want to hard-code the connection details because it will change in bodies SIT/UAT/PROD.

    Please ask you to guide me if there is no solution for the information of connection without hard coding it.

    Following code used to get the connection details

    try {}

    Class.forName ("oracle.jdbc.driver.OracleDriver");

    System.out.println ("= class loaded");

    }

    catch (ClassNotFoundException ex) {}

    System.out.println ("= class loading error");

    ex.printStackTrace ();

    }

    Fitting out = null;

    CallableStatement cstmt = null;

    Try

    {

    connection = DriverManager.getConnection ("jdbc:oracle:thin:@xxhostname:1521/SID", "FUSION", "*");

    Connection = GetConnection ();

    System.out.println ("= connection =" + connection);

    prepare the call

    cstmt = connection.prepareCall ("{call XX_AP_INV_DYN_APPROVAL_PKG. {GET_GROUP_PARTICIPANTS (?,?)} ») ;

    cstmt.setString (1, '12345');   ID on invoice

    Exit of the register

    cstmt.registerOutParameter (2, java.sql.Types.VARCHAR);

    Call the stored procedure

    cstmt. Execute();

    System.out.println ("= procedure being executed");

    approvalGroupMembers = cstmt.getString (2).split("#");

    System.out.println ("= output:" + cstmt.getString (2));

    }

    catch (Exception ex) {}

    ex.printStackTrace ();

    }

    Finally

    {

    Try

    {

    If (cstmt! = null)

    close the callable statement

    {

    cstmt. Close();

    cstmt = null;

    }

    System.out.println ("= stmt closed");

    }

    catch (SQLException ex)

    {

    System.out.println ("= stmt close err");

    ex.printStackTrace ();

    }

    Try

    {

    If (connection! = null)

    close the connection

    {

    Connection.Close;

    connection = null;

    }

    System.out.println ("= closed conn");

    }

    catch (SQLException ex)

    {

    System.out.println ("= Close conn err");

    ex.printStackTrace ();

    }

    }

    Thank you

    Dipak.

    HI Dembélé - you should be able to call the provider database from the java class. Documentation is here. However, you need to specify the name of the data provider that is the same in all environments. Do you know what it is? If it's not I'll take a look and get back to you.

    __

    Peter Maurer

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • No error data based on pl/sql package

    I have the following code in a function that is part of a package.  The code gives me an error No_Data operating in function even if it should return a data value.  I can run the select SQL Plus and it works very well and returns the correct data, but using a function gives me this error.  Please help.

    FUNCTION get_dept_poc_rid

    (in_company NUMBER,

    in_dept VARCHAR,

    in_process_lvl VARCHAR)

    RETURN NUMBER IS

    return_value NUMBER;

    BEGIN

    ID_MANAGE_ID of SELECT INTO return_value OF ID_MASTER WHERE EMPLOYEE =)

    SELECT CASE - Choose employee ID based on which field master dept is not null

    WHEN dm. TIMEKEEPER <>0

    THEN dm. TIMEKEEPER

    WHEN dm. DIRECTOR <>0

    THEN dm. DIRECTOR

    WHEN dm. CHAIR <>0

    THEN dm. CHAIR

    0 OTHERWISE

    END dept_contact_employee_id - deal for the employee id

    OF deptmast dm

    deptcode dc

    WHERE TRIM (dc.department) = TRIM (dm.deptcode1)

    AND dc.process_level = dm.process_level

    AND dc.company = dm.company

    AND dc.active_flag = 'A '.

    AND dc.company = in_company

    AND deptcode1 = in_dept

    AND dc.process_level = in_process_lvl

    );

    RETURN Return_value;

    END get_dept_poc_rid;

    Hi everyone, I think I found it.  Apparently the length of variables and fields must match.  So I had to cut the Varchar table fields to match the literals from the variable.  It may even be advisable to cut both sides of the equation?  I'm kind new to Oracle but it's 101 PL/SQL, I'm sure.  I should have better.  Thanks to all the help that you so much he made me thinking in the right direction after spinning my wheels for a while.  Sometimes you just need to bounce back such things on people.  Thanks again.

Maybe you are looking for

  • to download windows xp professional

    My Compaq Presario V2000 has deleted my Opreting system of Windows XP PROFESSIONAL and I want to reinstall it please send me a link to download win xp FRP. 32-bit

  • Noise coming from Vaio 13 Pro

    -Very well, so I got my new Pro 13 for about 2 weeks. It works perfectly except for a boredom. There is a low type squeking noise. It happens every time the computer treats something. A good example would be whenever I load a Web page that he screams

  • Outlook EXPRESS out of control

    I just compose a long response to someone.  I hit SEND, through spell checker and when he finished, I suddenly had an hourglass which was bouncing or flashing and can't do anything, as well as the response I sent did not send.  I don't have any way t

  • Runtime error '339' missing vbwExtender.ocx

    [Windows Vista 32B SP2] First of all, Hello to all I'm new, this place looks very professional and I am pleased to join this place! I have this error of runtime for about a week on my brother's computer. It appears after the computer loads up. I gues

  • Language office (and all menus) are all in strange symbols, even if the language selected is English

    I have a Vista Home Premium computer laptop (Toshiba Satellite) which shows strange lines and brands for all of the words on the desktop and menus. I guess it could be a different language, although it looks more like mutilated. I managed to check th