Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Reporting Services
»
Reporting Services 2005 Development
»
Developing a report from two different...
Developing a report from two different databases
Rate Topic
Display Mode
Topic Options
Author
Message
sql-1017511
sql-1017511
Posted Sunday, January 24, 2010 10:47 AM
Grasshopper
Group: General Forum Members
Last Login: Sunday, January 24, 2010 12:47 PM
Points: 10,
Visits: 71
Hi,
how can we develop a report to pull the data from different database.
I need to develop a report which contains some fields from one database(sql server 2000) and some from other database(sql server 2005).
Also, how to connect my report server to the database(sql server 2000).
By default my report server connects to database(sql server 2005).Do i need to change the datasource name or connectivity?If yes, how to do this?
Please help me on this.....
Thanks in Advance.
Post #852751
Jeff Moden
Jeff Moden
Posted Sunday, January 24, 2010 5:31 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:14 PM
Points: 32,906,
Visits: 26,794
You're not only changing databases, but instances, as well. I don't know much about SSIS but I'd imagine you'd have to resort to the 4 part naming convention for the connection to the SQL Server 2000 database.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #852798
Jack Corbett
Jack Corbett
Posted Monday, January 25, 2010 8:17 AM
SSChampion
Group: General Forum Members
Last Login: Friday, May 17, 2013 12:22 PM
Points: 10,571,
Visits: 11,871
This is a classic "It Depends" situation. Does the report need to merge data from the 2 data sources or is each data source a different section on the report?
Jack Corbett
Applications Developer
Don't let the good be the enemy of the best. --
Paul Fleming
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #853030
mike.kazis
mike.kazis
Posted Tuesday, March 30, 2010 9:38 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, April 04, 2011 1:50 PM
Points: 1,
Visits: 12
What are you using to develop the report?
I've developed many reports from different databases (i.e. MS Access & SQL Server) using Crystal Reports. Crystal Reports will recognize different databases and let you create a report from the combined databases.
You can probably do the same with SQL Server Reporting Services (SSRS) in SQL Server 2005 where you can point to an instance of a SQL Server 2000 database but I haven't used it yet to test it.
Post #892955
POCTOB
POCTOB
Posted Tuesday, March 30, 2010 12:27 PM
SSC Journeyman
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 12:11 PM
Points: 91,
Visits: 10,071
You can also write stored procedure to combine data from both DBs (using openrowset for example)
Post #893168
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.