Solved

I need data from Sql 2012 & Oracle 11g in an SSRS report.  Will I be able to create datasets which utilize both databases?

Posted on 2013-07-01
1
1,828 Views
Last Modified: 2013-07-02
Current:
1. DatabaseA: MSSQL 2012
2. DatabaseB: Oracle 11g

Desired:
I want to add both databases as datasources in an SSRS project.
1. I want to query both databases in a single dataset.

Also, Would it be better to utilize Oracle as a linked server or incorporate it directly into my report as a datasource?
0
Comment
Question by:rhservan
1 Comment
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39291702
You can add them both as a dataset:
http://msdn.microsoft.com/en-us/library/ms159219.aspx

Whether to go via a linked server or Go directly as a second data source is dependent on where you're doing the logic.

More often than not I use stored procs to do as much of the data processing on the back end (eg: joins, case statements etc) and then let the reports call the stored procs.  In that case you would use a linked server.

If you're comforatble with the multiple datasets and your requirements allow it it's better to go directly.  Essentially you would be going to the SQL server then to the oracle server, orcale server transmits data back to sql, then to your report for a linked server versus just going to the DB directly.  

Hope that helps.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question