1.建立oracle過程儲存
create or replace procedure proce_test(paramin in varchar2,paramout out varchar2,paraminout in out varchar2)
asvarparam varchar2(28);
begin
varparam:=paramin;
paramout:=varparam|| paraminout;
end;
2.測試過程儲存
declare
param_out varchar2(28);
param_inout varchar2(28);
begin
param_inout:=』ff』;
proce_test(』dd』,param_out,param_inout);
dbms_output.put_line(param_out);
end;
c#方面
引用oracle元件
c 呼叫oracle儲存過程
create or replace package pkg tabletype is type tabletype is ref cursor procedure sp cpzd cpno in varchar2,status in varchar2,t sql out tabletype end ...
C 呼叫oracle儲存過程
c 呼叫oracle儲存過程 oracle方面 建立oracle過程儲存 create or replace procedure proce test paramin in varchar2,paramout out varchar2,paraminout in out varchar2 asvar...
C 呼叫Oracle儲存過程
1.建立表 create table test id number name varchar2 10 varchar2 4 age number address varchar2 200 2.建立不帶引數的儲存過程 create orreplace procedure proc1 isbegin i...