日期:2014-05-17 浏览次数:20515 次
select a.VirusNameID1,a.DateTime ,b.Name,d.ID as SpywareExclusionId,
0 as t--,VirusTypeID
FROM VSDetections.dbo.VS_Detections365 a
Left join VSDetections.dbo.VS_VirusNames b ON b.Id=a.VirusNameID1
Left join VirusScanProd.dbo.MyCIOVirusName d ON d.VirusName=b.Name
Where MID =ANY
(Select ID From VirusScanProd.dbo.MyCIOMachine
Where ContactID=46)
--and VirusTypeID =ANY (Select VirusTypeID from VSDetections.dbo.MyCIOVirusTypeLookup
Where Category=2)
--and VirusTypeID>=20207