all groups > sql server reporting services > october 2004 >
You're in the

sql server reporting services

group:

reporting service database name


reporting service database name sarab
10/15/2004 3:23:05 PM
sql server reporting services:
Hi,
Is there a way to find out(via table lookup) which database in an
given instance serves as a reporter database?.

More specifically, i need to report on some reprots and i do not want to
check every database in an instance to find out which one is used by
reporting services.


regards
-sarab
Re: reporting service database name Dejan Sarka
10/16/2004 12:18:31 PM
[quoted text, click to view]

In Query Analyzer, use

EXEC sp_who2

and check the DBName column in the row where the ProgramName coumn has value
'Report Server'. Use the lowest SPID value if there are more rows with
identical info (lower SPID=ServerProcess ID means earlier connection;
services should be faster when connectiong to SQL Server than regular
users).

--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com

Re: reporting service database name Dejan Sarka
10/16/2004 12:34:27 PM
Additionally, you can use WMI to get all configuration settigs. Sample code
is in RS BOL, here is the MSDN link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_wmi_4aci.asp.

--
Dejan Sarka, SQL Server MVP
Associate Mentor
www.SolidQualityLearning.com

"Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@avtenta.si> wrote in
message news:eRdZ%23l2sEHA.4040@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button