D
dana
Unregistered / Unconfirmed
GUEST, unregistred user!
我就写了这样存储过程
CREATE PROCEDURE [test]
@lsno int output
AS
select @lsno select in1 from demo
调用
var ls:variant;
begin
with SP_jszd do
begin
ExecProc;
ls:=Parameters.ParamByName('@lsno').Value;
showmessage(inttostr(ls1)); 错误提示“invalid variant type conversion”
//如果将ls定义为数值型也是同样出错,这是为什么?
end;
end;
CREATE PROCEDURE [test]
@lsno int output
AS
select @lsno select in1 from demo
调用
var ls:variant;
begin
with SP_jszd do
begin
ExecProc;
ls:=Parameters.ParamByName('@lsno').Value;
showmessage(inttostr(ls1)); 错误提示“invalid variant type conversion”
//如果将ls定义为数值型也是同样出错,这是为什么?
end;
end;