B
boye
Unregistered / Unconfirmed
GUEST, unregistred user!
SQLSERER2000中文版:
CREATE PROCEDURE pp @p1 char, @p2 char output
AS
set @P2=@@p1
GO
DELPHI 6:
begin
ADOStoreProc1.Parameters.ParamByName('@p2').Value:='';
ADOStoreProc1.Parameters.ParamByName('@p1').Value:='张三丰';
ADOStoredProc1.ExecProc;
end;
question:ADOStoreProc1.Parameters.ParamByName('@p2').Value 返回值为'';
'张三丰'换成'12345' 返回值为'1';
[red]why![/red]
请各位大虾指点,小弟不胜感激之至!
CREATE PROCEDURE pp @p1 char, @p2 char output
AS
set @P2=@@p1
GO
DELPHI 6:
begin
ADOStoreProc1.Parameters.ParamByName('@p2').Value:='';
ADOStoreProc1.Parameters.ParamByName('@p1').Value:='张三丰';
ADOStoredProc1.ExecProc;
end;
question:ADOStoreProc1.Parameters.ParamByName('@p2').Value 返回值为'';
'张三丰'换成'12345' 返回值为'1';
[red]why![/red]
请各位大虾指点,小弟不胜感激之至!