Hi,
Could someone pl tell me how to write a oracle procedure that returns one record(resultset) back to calling
java program?
The procedure should also update another table immedietly, using value in one of the fields in the record as the value for the 'where' condition - ie. use record lock.
Tried this way...
create procedure...(... , rsDet OUT types.cursorType)
open rsDet for
Select s.com_no,u.uid from ft s,crec c
where .....
Update ft set com_date = sysdate
where com_no = ???
end <proc_name>;
The problem is, how do i get the value of the com_no obtained
from the earlier select statement, and assign it in the where condition of the update statement ?
thanks
rgds
csb