Skip to content
murmot

Results for “java function call a string from array python script example code site:asktom.oracle.com”

  • asktom.oracle.com

    Java Stored Procedures - Ask TOM

    Java Stored Procedures Please enlight me regarding the concept of calling oracle stored procedure from java application /servlets and their pros and cons.Also regarding the advantage it has over the Java application/servlet and Oracle stored procedures as alone.

  • asktom.oracle.com

    Perform PL/SQL Operations with cx_Oracle

    Using Python to call a function in the database and get the return value, I use the cursor.callfunc method to do the following: Set the variables to use as arguments to the function. Define a new_pet_id variable and assign it the value returned from callfunc. Define the type of the data being returned—the second argument of the callfunc method does this. I set it to int. (cx_Oracle handles ...

  • asktom.oracle.com

    DBMS_OUTPUT - Ask TOM - Oracle

    Jan 4, 2012 ... The script has the DBMS_OUTPUT.DISABLE in order to reset the DBMS_OUTPUT package to allow the number of characters to be printed thereafter. If ...

  • asktom.oracle.com

    Procedure vs Package - Ask TOM

    Procedure vs Package Which is the best to user for code and when is it best to use a package rather than a procedure.IF this is something you do over and over in the same database, by all means package it up. IF this is an install script, probably just as well. Packages vs sql scripts.

  • asktom.oracle.com

    Real Application Clusters - Ask TOM - Oracle

    You use raid for example to make sure the disks never fail. You use dual NIC's and networks to make sure the network never fails. RAC allows you to use more ...

  • asktom.oracle.com

    LOB - Replacing a part of / Not overwriting - Ask TOM

    I have tried the code you mentioned above about replacing a string with a string in clob fields.That is, the replacement string that I'm stuffing in is quite large .. ie >32k .. REPLACE doesn't like it, throws ora-22828 error. Here's a small script I ran to try it: set serverout on.

  • asktom.oracle.com

    Passing Array to a Procedure - Ask TOM

    Jul 7, 2023 · Passing Array to a Procedure I need to pass a simple array of strings to a procedure, but always get 'wrong number or types of arguments in call to 'P_ARRAY_TEST''I've only ever used the Worksheet tab in SQL Developer (4.0.2.15).

  • asktom.oracle.com

    LOB compression - Ask TOM

    Nov 21, 2022 ... I wrote compressor/decompressor as Java SP and use first approach thus there have to be no compressor specific client side code (Perl, Java and ...

  • asktom.oracle.com

    How to avoid the full table scan - Ask TOM

    Feb 17, 2012 ... Tom, I created the sample tables I1,I2,MAP on my development environment using the same scripts given in the discussion. Also, I populated I1 ...

  • asktom.oracle.com

    Questions

    Hi Tom,Presently, it is not possible to replace a part of a LOB (the DBMS_LOB package does not have a replace function). The write procedure overwrites.Is it possible, if not why, to write at a certain position (not append) and offset the remaining portion whi...

  • asktom.oracle.com

    Java Call Specifications for String - Ask TOM

    Apr 30, 2026 · Java Call Specifications for String Hello,I'm trying to implement PIPELINED function in Java using object implementing SQLData. Everything works, except for arguments passing.Implementation is below, but first I describe the problem :)When I pass text argument using 'quote-operator' then some parts of string are lower-case