Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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,836 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

829 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