Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Foreign Key Relationships Dialog

Author  Topic 

john.lam
Starting Member

12 Posts

Posted - 2009-12-23 : 04:46:39
Hi all,

I'm using SQL Server 2008 Express Edition. Just wondering is it valid for me to assign non-primary key column from the primary key table in the Foreign Key Relationship Dialog? Will it lead to any problem?

Thanks,

John Lam

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2009-12-23 : 04:50:48
Does't make any problem whether your design is good.

Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled

http://senthilnagore.blogspot.com/
Go to Top of Page

dportas
Yak Posting Veteran

53 Posts

Posted - 2009-12-28 : 08:17:45
quote:
Originally posted by john.lam

Hi all,

I'm using SQL Server 2008 Express Edition. Just wondering is it valid for me to assign non-primary key column from the primary key table in the Foreign Key Relationship Dialog? Will it lead to any problem?

Thanks,

John Lam



No problem. There's nothing special about a "primary" key. Any other candidate key will do just as well.

Go to Top of Page
   

- Advertisement -