‎11-21-2014 08:39 AM
Select Top 1000 tsyserrors.Added As AddedDate,
tsyserrortype.Errorname As Type,
tsyserrors.Errormsg As Error,
tsyserrors.Scanserver As ScanServer,
Case tsyserrors.Errortype When 5 Then 'evinformationsm.png'
Else 'everrorsm.png' End As icon,
tsysASServers.Version,
tsysASServers.Servicestarted As ServiceStarted,
tsysASServers.Servicelastpolled As ServiceLastPolled
From tsysASServers
Inner Join (tsyserrors
Inner Join tsyserrortype On tsyserrors.Errortype = tsyserrortype.ErrorType)
On tsysASServers.Servername = tsyserrors.Scanserver
Order By tsyserrors.Errorid Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now