‎07-31-2020 10:57 PM
‎08-07-2020 07:56 AM
SELECT TOP 1000000 tblAssets.AssetID,
tsysAssetTypes.AssetTypeIcon10 AS icon,
tblAssets.AssetName,
tblSoftwareUni.softwareName AS Software,
tblSoftwareUni.SoftwarePublisher AS Publisher,
tblSoftware.softwareVersion AS Version,
tblAssets.Username,
tblADusers.Firstname,
tblADusers.Lastname,
tblADusers.Displayname,
tblADusers.Title,
tblADusers.Department AS Division,
tblADusers.Division AS Department,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblSoftware.Installdate,
tblOperatingsystem.Caption,
tblOperatingsystem.ServicePackMajorVersion,
tblOperatingsystem.Version AS OSVersion
FROM tblAssets
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes ON tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblSoftware ON tblAssets.AssetID = tblSoftware.AssetID
INNER JOIN tblSoftwareUni ON tblSoftwareUni.SoftID = tblSoftware.softID
LEFT JOIN tblADusers ON tblAssets.Username = tblADusers.Username
LEFT OUTER JOIN tblSystemEnclosure ON tblAssets.AssetID = tblSystemEnclosure.AssetID
LEFT OUTER JOIN TsysChassisTypes ON tblSystemEnclosure.ChassisTypes = TsysChassisTypes.Chassistype
LEFT JOIN tblOperatingsystem ON tblAssets.AssetID = tblOperatingsystem.AssetID
WHERE tblAssetCustom.State = 1;
‎08-06-2020 09:06 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblAssetCustom.State = 1
Group By tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName,
tblSoftware.softwareVersion
‎08-05-2020 06:44 PM
‎08-05-2020 04:47 PM
‎08-05-2020 04:38 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now