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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL compatability in SQL 2016 2 32
join 2 views with 5 conditions 3 46
Oracle Pivot Question 8 45
How do I call MySQL Stored Procedure from oracle using HS link ? 5 27
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

867 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

15 Experts available now in Live!

Get 1:1 Help Now