Returning Arrays From JAVA Stored Function - Ask TOM
String ) 6 return oracle.sql.ARRAY.ARRAY'; 7 / Function created. ops$tkyte@DEV816> select * 2 from TABLE ( cast (get_dir_list( '/tmp' ) ...
String ) 6 return oracle.sql.ARRAY.ARRAY'; 7 / Function created. ops$tkyte@DEV816> select * 2 from TABLE ( cast (get_dir_list( '/tmp' ) ...
hi tom, can you please give an example on how to return a JAVA object back to an invoking PL/SQL routine? in our case the JAVA call is wrapped by a stored function and the JAVA object just contains a Double and a String.
Do you have an example of this? Thanks, Lara. and Tom said... Well, jdbc can deal with result sets from stored procedures ...
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.
Aug 6, 2002 ... ... string array to Java ... getArray()" method will return the base data array for us. We simply need to cast the return value from getArray ...
Hello, In a column there is encrypted large string, i need to read it and display it also i need to replace a string from the decrypted data using a anonymous pl/sql block not using a function.kindly please help me in this issue. Thanks in advance.
First example of code I've seen that clearly demos passing a Java String array to a PL/SQL stored function that is implemented with a PL/SQL block. Other ...
Able to use dynamic values in "USING" clause, but not able to return the data from SELECT statement with EXECUTE IMMEDIATE.I have follow-up use case. Here I'm passing multiple nested table arrays as input with dynamic filter clause with TABLE().
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 ...
The application needs to return two recordsets: Look for an exact match in one of the columns and return those recordsets. Then do a full like (%%) "or" search on few columns (of different tables) and return that recordset excluding any records from the first recordset.
4) Oracle takes the string test1 for example from sqlplus scott/tiger ... return the value set to my_var for the current p_client_session. This works ...
May 3, 2011 ... ... String, 19 java.lang.String, 20 oracle.sql.BLOB, 21 java.lang.String, 22 java.lang.String 23 ) return oracle.sql.NUMBER'; 24 / Function created.