COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: Sarayucog on 18 Oct 2011 06:50:08 AM

Title: How to add 2 table from 2 different data sources
Post by: Sarayucog on 18 Oct 2011 06:50:08 AM
Hi All,

I have mutiple data sources like MY SQL and Oracle. I want to import tables from these 2 different data sources and make relationship between these 2 different data source tables and I want to create new query subjects by using the tables from these 2 different data source table. Is it possible.

If its possible what to do create new query subjects from the 2 different data source table.


Your help will be appriciated.
Sarayu
Title: Re: How to add 2 table from 2 different data sources
Post by: nonooo on 18 Oct 2011 08:44:05 AM
1/ make both connections in cognos
2/ make a new framework manager project
3/ import table from both connections
4/ modelize the link (=relation)
5/ add a new query subject
6/ add a package & publish
7/ do whatever you want with your data.

it will work but I am not sure cognos will do a great job doing the link (index are in your database server not in cognos server...)
Title: Re: How to add 2 table from 2 different data sources
Post by: Sarayucog on 19 Oct 2011 02:36:50 AM
Hi nonoo,

Thanks for your quick response.

Do we need any common table like a confirmed dimenstion to join the 2 different schemas (means 2 different data sources)

Do we need any common tables or common columns to join the 2 different data source tables.

Title: Re: How to add 2 table from 2 different data sources
Post by: MFGF on 19 Oct 2011 08:15:15 AM
To join the data sources, you will need at least one common item in each. You can then select these items and create a relationship between them.

Regards,

MF.