Skip to content
murmot

Results for “java function return array value from string python example code site:asktom.oracle.com”

  • asktom.oracle.com

    Return values from a PL/SQL table into a ref cursor? - Ask TOM

    Is returning RefCursor better than returning the table itself? Niranjan Ramakrishnan, August 30, 2001 - 8:07 pm UTC. Is there a performance reason why one would want to return a ref cursor as opposed to the table itself (and access it from JDBC using ARRAYs or CustomDatums)? Tom Kyte.

  • asktom.oracle.com

    Java Tips, JDBC, PL/SQL Stored Procedures, and Custom Prompts

    Do you have an example of this? To return an array instead of a result set from a stored procedure, you'll need to use a nested table type in SQL to represent an array for the stored procedure and then use some Oracle extensions to handle the array in the Java code.

  • asktom.oracle.com

    Procedure vs Package - Ask TOM

    Or, a function is just a procedure that returns a value. there are times when you have to use a function - like if you want to call the plsql from sql - but mostly, you choose one over the other when it pleases you.

  • 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

    hash join - Ask TOM

    If I Hash dept 40 and get 6 and when I use the emp table to probe I hash 40 and get 6, how is that faster, better and cheaper than putting 40 into 40 and not using the function at all? Say I have 100 departments and my hash function returns 10 values.

  • 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

    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 ...