Developing a report from two different databases

  • 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.

  • 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 Row-By-Agonizing-Row.
    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.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • 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?

  • 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.

  • You can also write stored procedure to combine data from both DBs (using openrowset for example)

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply