→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎10-27-2016 03:59 PM
Solved! Go to Solution.
‎10-27-2016 06:10 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tsysOS.OSname,
tsysOS.Image As icon,
tblSqlServers.displayVersion As Edition,
tblSqlServers.skuName As License,
tblSqlServers.spLevel As SP,
tblSqlServers.serviceName As Service,
tblSqlServers.lastChanged,
tblAssets.IPAddress,
tblSqlServers.version,
tblAssetCustom.LastPatched,
tblSqlDatabases.name,
tblSqlDatabases.dataFilesSizeKb,
tblSqlDatabases.logFilesSizeKb
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblSqlServers On tblAssets.AssetID = tblSqlServers.AssetID
Inner Join tblComputersystem On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblSqlDatabases On tblSqlServers.sqlServerId =
tblSqlDatabases.sqlServerId
Where tblAssetCustom.State = 1 And tblComputersystem.Roles Like N'%sqlserver%'
Order By tblAssets.AssetName,
Edition
‎10-28-2016 12:13 PM
‎10-27-2016 06:10 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tsysOS.OSname,
tsysOS.Image As icon,
tblSqlServers.displayVersion As Edition,
tblSqlServers.skuName As License,
tblSqlServers.spLevel As SP,
tblSqlServers.serviceName As Service,
tblSqlServers.lastChanged,
tblAssets.IPAddress,
tblSqlServers.version,
tblAssetCustom.LastPatched,
tblSqlDatabases.name,
tblSqlDatabases.dataFilesSizeKb,
tblSqlDatabases.logFilesSizeKb
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblSqlServers On tblAssets.AssetID = tblSqlServers.AssetID
Inner Join tblComputersystem On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblSqlDatabases On tblSqlServers.sqlServerId =
tblSqlDatabases.sqlServerId
Where tblAssetCustom.State = 1 And tblComputersystem.Roles Like N'%sqlserver%'
Order By tblAssets.AssetName,
Edition
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now