Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

How to detect reporting services installations in a given instance.

$
0
0
Hi,I have a need to detect if reporting services is installed on a given SQL Server instance or not? I know this can be done by looking at services at the OS level and it seem consistent enough. But I need to figure this out by querying the database instance using SQL or T-SQL. Is there some table or configuration that I can query to determine if reporting server is configure on a given instance or not?I do have a couple of ideas but they are not the best.1. select count(*) from master.sys.databases where name like 'ReportServer%' If this return 1 or more, then reporting server must has been installed. The problem is during the configuration, someone could change the database name to something else.2. Loop through all non system databases, and query the catalog if certain set of objects exists in each databases that would normally be in the reportserver database. Then that mean we have reporting server configure in this instance. If you know a better way to do this, I appreciate your input.Thanks,Louis Lam

Viewing all articles
Browse latest Browse all 2791

Trending Articles