→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎09-26-2013 12:43 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tsysAssetTypes.AssetType,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber,
tblAssets.Description,
tblAssetCustom.Comments,
tblAssetCustom.Custom1 As [Invoice Date],
tblAssetCustom.PurchaseDate,
tblAssetCustom.Warrantydate,
tblAssetCustom.Department,
tblAssetCustom.Location,
tblAssetCustom.OrderNumber,
tblAssetCustom.Custom2 As Vendor,
tblAssetCustom.Custom3 As [P/O #],
tblAssetCustom.Custom4 As [Invoice #],
tblAssetCustom.Custom10 As [Invoice URL],
tblAssetCustom.Custom5 As [Payment Type],
tblAssetCustom.Custom6 As [Invoice Total],
tblAssetCustom.Custom7 As [Price Per Unit],
tblAssetCustom.Custom8 As [Original Assigned User],
tblAssets.Username As [Last User Logon],
tblAssetCustom.Custom9 As [Associated PC],
tblAssetCustom.State,
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tsysAssetTypes.AssetType Not In (0, 200)
Solved! Go to Solution.
‎09-28-2013 01:46 AM
WHERE tsysAssetTypes.AssetType NOT IN (0, 200)
AND ( (tblAssetCustom.Custom7 IS NULL)
OR (RTrim(tblAssetCustom.Custom7) = '')
)
‎09-28-2013 01:46 AM
WHERE tsysAssetTypes.AssetType NOT IN (0, 200)
AND ( (tblAssetCustom.Custom7 IS NULL)
OR (RTrim(tblAssetCustom.Custom7) = '')
)
‎09-26-2013 01:49 AM
‎09-26-2013 01:24 AM
WHERE tsysAssetTypes.AssetType NOT IN (0, 200)
AND ( (tblAssetCustom.Custom7 IS NULL)
OR (tblAssetCustom.Custom7 = '')
)
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now