碎
碎梦清影
Unregistered / Unconfirmed
GUEST, unregistred user!
C++中oledb 调用oracle存储过程(带有ref cursor),如何得到返回的结果集
oracle存储过程我明白怎么写
例如:
create or replace package t is
refcursor is ref cursor;
procedure get(c refcursor);
end t;
create or replace package body t is
procedure get(c refcursor) is
begin
open c for
select * from test;
end get;
end t;
c++中调用怎么写呢?怎么获得返回的结果集呢?
oracle存储过程我明白怎么写
例如:
create or replace package t is
refcursor is ref cursor;
procedure get(c refcursor);
end t;
create or replace package body t is
procedure get(c refcursor) is
begin
open c for
select * from test;
end get;
end t;
c++中调用怎么写呢?怎么获得返回的结果集呢?