Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Two datasource in Crystal 11 Post Reply Post New Topic
Author Message
Kelvin KD
Newbie
Newbie


Joined: 18 Mar 2010
Online Status: Offline
Posts: 10
Quote Kelvin KD Replybullet Topic: Two datasource in Crystal 11
    Posted: 09 Dec 2012 at 9:46pm
I need to combine data from two different datasources - one is Oracle & SQL Server 2008 and display the output in Crystal. I am using Crystal Report 11. I will be joining both the Datasources using Student_ID . Is it possible?
A
ssume Oracle Database had all the Student Marks.
SQL SErver has all the Student's addresses. I nee dto gerenate a report which displays both MArks and Students Addresses.
 


Edited by Kelvin KD - 10 Dec 2012 at 12:17am
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 10 Dec 2012 at 5:23am
Is the Student_ID field of the same data type in both databases?  If so, then this won't be too difficult.
 
1.  Create a connection to the SQL Server database and add the appropriate table(s) from there.  SQL Server will be the "master" for this report because that's where the student info is located.
 
2.  Create a connection to the Oracle database and add the appropriate table(s) from there.
 
3.  Join the tables together.
 
If the Student_ID field has one data type in the SQL Server database and another in the Oracle database, this won't work.  If that's the case, you'll need to set up some sort of link between the two in one of the databases - I know this can be done in Oracle and I suspect it can also be done in SQL Server.  I would then set up either a view in the database that will link the data together or use a Command (SQL Select statement) in the report that will join the data together to get ALL of the data that's required for the report.
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.