关于存储过程,为什么客户端运行老是出错,说没有数据库没有登录啊,只有20分了,全部给!
中间层:
procedure TGasServerRemoteDataModule.ExecProc(const Param_time:WideString);
begin
StoredProc1.ParamByName('STRTIME').AsString := Param_time;
StoredProc1.Prepare;
StoredProc1.ExecProc;
end;
客户端:
DCOMConnection1.Connected := True;
DComConnection1.AppServer.ExecProc('200301');