on 02-24-2016 2:18 PM
Hi All
Could anyone help out in knowing the various ways to detect the primary key and foreign keys across the tables being used in the Universe.
I have to modifying the existing set of joins being used in the universes. One way which i figured out from one of the Youtube Videos,is to search for the duplicate values of the specific (assumed fields for primary and foreign Keys) in the "Column values" option which gets popped up upon selecting the respective fields and right clicking the table.
But question is what if there are no duplicate values(then how do we differentiate between the primary keys and the foreign keys used in the tables?
Hi Moumita,
Which schema has been used in the universe? star or snowflake?
The referential integrity i.e. relationship between the tables using primary and foreign keys would be easier if checked at database level instead of designer.
Your DBAs should have some documents regarding data model and table relationship to refer.
Checking the table definitions (SQL: show table <tablename>) at database level can also help in understanding.
Regards,
Yuvraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.