Skip to content

Inventory PC installed with SQL Server does not report the version of sql

Featured Replies

Hello friends.

I'm generating a query for all computers that have SQL installed, but the result is not as expected, I want the SQL and see, someone can help me with any questions.


I want the installed version, not all components as shown in the image ..

post-19526-0-72156100-1363896513_thumb.png

There are several way to inventory this, which method did you use?

What does your query look like?

Have you looked at those PCs to find out why, you are not getting the results that you expect?

  • Author

hi

 

 

 

SELECT distinct dbo.v_R_System.Name0, dbo.v_R_System.AD_Site_Name0 as "Site",dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System],
arp.DisplayName0 as "Software",arp.Version0
FROM dbo.v_Add_Remove_Programs AS arp INNER JOIN
dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID INNER JOIN
dbo.v_RA_System_SMSInstalledSites AS ASSG ON dbo.v_R_System.ResourceID = ASSG.ResourceID INNER JOIN
dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
WHERE (arp.DisplayName0 LIKE 'Microsoft SQL Server 2005%')OR
(arp.DisplayName0 LIKE 'Microsoft SQL Server 2008%')OR
(arp.DisplayName0 LIKE 'Microsoft SQL Server 2012%') ORDER BY dbo.v_R_System.Name0, arp.DisplayName0, arp.Version0

post-19526-0-47235800-1364315634_thumb.png

  • 2 weeks later...
  • Author
hanks friend.

Excuse my ignorance, I suggest? please help, have a question? something I orient

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.