[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1955
  • Last Modified:

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

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
rhservan
Asked:
rhservan
1 Solution
 
Kyle AbrahamsSenior .Net DeveloperCommented:
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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now