Hi,,,
I have a question that if we want to create the relationship between two tables than what should we have to do...
i mean we have to set primary key for both tables ??
an other question is that can we create relationship between two database??
Loading
Hemant KumarPosted Sep 21, 2011, 3:16 AM
you can create the foriegn key relationship as below
Jaganathan BantheswaranPosted Sep 21, 2011, 3:05 AM
Any one table should have unique key.
To link the DB read this
Pravin MorePosted Sep 21, 2011, 3:04 AM
I think, its depend on your design and relationship, if your design dont want PK then rethink your design because what is point in putting identicle records in table...it will create problem even for joins......enev you cant give any indexes on table.
i thibk there are very few cases where PK is not needed like temp tables for loading bulk data...
Thanx,
Pravin.