How can I find the product version for both analysis services and report server using Transact-SQL?
I'm trying to put together a query that will get me the details of each SQL instance with their product versions. At the moment I have the following:
SERVERPROPERTY('ServerName') AS InstanceName,
SERVERPROPERTY('productversion') AS ProductVersion
SERVERPROPERTY('Edition') AS Edition,
SERVERPROPERTY('ProductLevel') AS ProductLevel,
SERVERPROPERTY('ProductUpdateLevel') AS ProductUpdateLevel,
SERVERPROPERTY('ProductUpdateReference') AS ProductUpdateReference
-- Analysis Services Product Version
-- Report Server Product Version
I'm sure it is not using SERVERPROPERTY as I've looked at the Microsoft Doc's and I have looked at the other property types and have either missed what I'm looking for or not asking the right question.