→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎02-26-2016 11:45 AM
Solved! Go to Solution.
‎02-26-2016 07:18 PM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblFloppy.InterfaceType,
tblFloppy.Model,
Replace(tblFloppy.Name, '\\.\PHYSICALDRIVE', 'Physical Drive ') As Drive,
Ceiling(tblFloppy.Size / Power(10, 9)) As [Capacity (GB)],
Ceiling(tblFloppy.Size / Power(2, 30)) As [Capacity (GiB)]
FROM
tblAssets
INNER JOIN tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblFloppy On tblAssets.AssetID = tblFloppy.AssetID
WHERE
tblAssetCustom.State = 1
AND tblFloppy.Model Like 'Samsung%'
‎02-26-2016 07:18 PM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblFloppy.InterfaceType,
tblFloppy.Model,
Replace(tblFloppy.Name, '\\.\PHYSICALDRIVE', 'Physical Drive ') As Drive,
Ceiling(tblFloppy.Size / Power(10, 9)) As [Capacity (GB)],
Ceiling(tblFloppy.Size / Power(2, 30)) As [Capacity (GiB)]
FROM
tblAssets
INNER JOIN tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblFloppy On tblAssets.AssetID = tblFloppy.AssetID
WHERE
tblAssetCustom.State = 1
AND tblFloppy.Model Like 'Samsung%'
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now