Select Top 1000000 tblAssets.AssetID, tblAssets.AssetUnique, tblAssets.Domain, tsysOS.OSname, tblAssets.Description, tblComputersystem.Lastchanged, tsysOS.Image As icon From tblComputersystem Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode Where tblComputersystem.Roles Like N'%sqlserver%' And tblAssetCustom.State = 1 Order By tblAssets.AssetName
Explore Lansweeper for free.
No credit card required.