DixieFlatline
Programmer
Hi,
Can anyone show me the syntax on how to create a function that would return a cursor?
What I want is to be able to call this function in jdbc like:
CallableStatement cs =
conn.prepareCall( "{ call myFunc[(?)]});
cs.setInt( 1 , 1 );
ResultSet rs = cs.executeQuery();
How do I form the function in Oracle so that I can do a jdbc call like the one above.
Thanks.
Can anyone show me the syntax on how to create a function that would return a cursor?
What I want is to be able to call this function in jdbc like:
CallableStatement cs =
conn.prepareCall( "{ call myFunc[(?)]});
cs.setInt( 1 , 1 );
ResultSet rs = cs.executeQuery();
How do I form the function in Oracle so that I can do a jdbc call like the one above.
Thanks.