→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chads
Lansweeper Alumni
Looking for a report that combines all SQL versions installed and leaves out the junk that isn't needed. Microsoft SQL, postresql and everything else with other vendors that is SQL.
1 ACCEPTED SOLUTION
MikeMc
Champion Sweeper II
This query lists all software that contains SQL in the name.
Select Top 100000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftware.Installdate
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblSoftware On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%SQL%' And tblAssetCustom.State = 1
Order By tblAssets.AssetName,
Software

View solution in original post

3 REPLIES 3
MikeMc
Champion Sweeper II
I updated my previous query to remove the Linux references.
chads
Lansweeper Alumni
This is providing this error

Error: Conversion failed when converting date and/or time from character string.
MikeMc
Champion Sweeper II
This query lists all software that contains SQL in the name.
Select Top 100000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftware.Installdate
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblSoftware On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%SQL%' And tblAssetCustom.State = 1
Order By tblAssets.AssetName,
Software