L
lovewh119
Unregistered / Unconfirmed
GUEST, unregistred user!
存储这程:
create procedure timerout
@dater datetime out ,
@timer datetime out ,
@things varchar (100) out
as
select @dater=dater ,
@timer=timer ,
@things=things from timert(表名)
然后在一个Delphi事件里
var
dater:Tdate;
timer:TTime;
str:string;
begin
ADOStoredProc1.ExecProc;
然后这里怎么写??才能把ADOStoredProc1里的记录一条一条的赋值给上面的变量??
要是能用到光标(Cursor)就更好,最好是写出代码来,谢谢了`~
end;
create procedure timerout
@dater datetime out ,
@timer datetime out ,
@things varchar (100) out
as
select @dater=dater ,
@timer=timer ,
@things=things from timert(表名)
然后在一个Delphi事件里
var
dater:Tdate;
timer:TTime;
str:string;
begin
ADOStoredProc1.ExecProc;
然后这里怎么写??才能把ADOStoredProc1里的记录一条一条的赋值给上面的变量??
要是能用到光标(Cursor)就更好,最好是写出代码来,谢谢了`~
end;