我想写一个java程序来完成对数据库存储过程的简单调用:该怎么写呀?
假如存储过程为
Create Or Replace Procedure temp_proc (msg Out temppro.name%type)As
Begin
Select id
Into msg
From sfy.temppro
Where id=1;
End;
程序只要通过调用存储过程把msg的结果打印出,即可
希望大家指教
假如存储过程为
Create Or Replace Procedure temp_proc (msg Out temppro.name%type)As
Begin
Select id
Into msg
From sfy.temppro
Where id=1;
End;
程序只要通过调用存储过程把msg的结果打印出,即可
希望大家指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货