Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> How to call stored procedures
Hi,
I have a problem in calling a stored procedure.
I ahve to pass 2 parameters and i ahve to get
a cursor as return.
What is the syntax for calling the stored procedure in this situation.
I am using
conn.prepareCall("begin incmgr.p_great_deal.sp_get_title_rvlg(?,?,?);end;");
call.registerOutParameter(1, OracleTypes.CURSOR); call.setString(2,"ROBERT"); call.setString(3,"18976");
Am I doing right?
Any suggestion?
Thanks.
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Apr 20 1999 - 15:44:48 CDT
![]() |
![]() |