Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 SSRS Report against Multiple Databases

Author  Topic 

SQLNewbieSwiss
Starting Member

1 Post

Posted - 2012-07-16 : 06:05:38
I have very simple Report and would like to query against all db's residing on one SQL Server. Is this possible, please advice. I appreciate any help, Thanks

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2012-07-16 : 06:52:11
I would create a stored procedure to run the query and that can loop through all the databases and return a resultset.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -