P
pxlei
Unregistered / Unconfirmed
GUEST, unregistred user!
在Oracle8.1.7,建立了一个类型UserID_T,并创建了一个存储过程PROCTEST,
CREATE OR REPLACE TYPE UserID_T AS VARRAY (500) OF VARCHAR2(16);
create or replace procedure PROCTEST
(
o_name out Varchar2,
o_sysid out UserID_T
)
is
begin
o_name :='meteorlee';
o_sysid:=UserID_T(NULL);
o_sysid.EXTEND(100);
o_sysid(1):='meteor1';
o_sysid(2):='meteor2';
o_sysid(3):='meteor3';
end PROCTEST;
请问在Delphi6或C++Builder5中,如何调用存储过程PROCTEST,返回正确结果?
谢谢!
CREATE OR REPLACE TYPE UserID_T AS VARRAY (500) OF VARCHAR2(16);
create or replace procedure PROCTEST
(
o_name out Varchar2,
o_sysid out UserID_T
)
is
begin
o_name :='meteorlee';
o_sysid:=UserID_T(NULL);
o_sysid.EXTEND(100);
o_sysid(1):='meteor1';
o_sysid(2):='meteor2';
o_sysid(3):='meteor3';
end PROCTEST;
请问在Delphi6或C++Builder5中,如何调用存储过程PROCTEST,返回正确结果?
谢谢!