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,804 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now