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
 Development Tools
 Reporting Services Development
 RSS 2005 Question

Author  Topic 

bgrantham
Starting Member

1 Post

Posted - 2006-01-03 : 17:30:09
Hi,

I hope someone can help. We are in the process of picking a new reporting tool/architecture. We are very interested in SQL Server Reporting Services 2005. The one question we have is can a single report work with multiple databases. As an example,

If we have database1 and in it we have Table A, Table B, and Table C and want to move the tables to different DB's can we read them in one dataset as they are one. Our ending result might look like this.

Database1 = Table A
Database2 = Table B
Database3 = Table C

Report A sees DB1, DB2, DB3 as one dataset.

Thanks for your help

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-01-03 : 17:36:32
You can do that even in SQL Server 2000 by coding for it in the data set:

SELECT ...
FROM DB1.dbo.TableA
UNION ALL
SELECT ...
FROM DB2.dbo.TableB
UNION ALL
SELECT ...
FROM DB3.dbo.TableC

Tara Kizer
aka tduggan
Go to Top of Page
   

- Advertisement -