→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎01-02-2015 02:48 PM
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypename As AssetType,
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
'http://LansweeperServerName:81 /AssetActions.aspx?action=getDoc&assetId=' +
Cast(tblAssets.AssetID As nvarchar) + '&docId=' + tblAssetDocs.Docguid As
hyperlink_hyp,
'Document: ' + tblAssetDocs.Docname As hyperlink_name_hyp,
tblAssetDocs.AddedBy,
tblAssetDocs.Added
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetDocs On tblAssets.AssetID = tblAssetDocs.AssetID
Where tblAssetCustom.State = 1
Order By tblAssets.IPNumeric,
tblAssets.AssetName,
tblAssetDocs.Added Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now