[英]IErrorInfo.GetDescription failed with E_FAIL(0x80004005)..Surendra Marri
Below query when I execute I am facing: 执行以下查询时,我将面临:
IErrorInfo.GetDescription failed with E_FAIL(0x80004005). IErrorInfo.GetDescription失败,并显示E_FAIL(0x80004005)。
to Connect MS Access dataBase. 连接MS Access数据库。 When I excute same in SQL Server its working but its not working for MS Access DataBase. 当我在SQL Server中执行相同操作时,它对MS Access数据库不起作用。 Can any one help on this. 谁能帮上忙。
select [EmpName],EmpMaster.EmpCodeDisplay,Transactions.CardNo,
case when CONTROLLERS.ControllerName = 'Level0Entry' then 'Reception' when CONTROLLERS.ControllerName = 'LevelBCiscoNSNRx' then 'Basement'
else CONTROLLERS.ControllerName end as ControllerName,aDateTime from Transactions
inner join CONTROLLERS on Transactions.ControllerNo = CONTROLLERS.ControllerNo
inner join EmpMaster on Transactions.EmpCode = EmpMaster.EmpCode
where transactions.ControllerNo in ('7','9') and aDateTime between '1/28/2015 05:45:00.000' and '1/28/2015 23:59:00.000'
and transactions.EmpCode <> '0' and Transactions.CardNo in (select CardNo from Transactions
where transactions.ControllerNo in ('7','9') and transactions.EmpCode <> '0' and aDateTime between '1/28/2015 05:45:00.000' and '1/28/2015 23:59:00.000'
group by Transactions.CardNo having COUNT(Transactions.CardNo) < 2 ) order by aDateTime asc
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.