SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Foreign Key Relationships Dialog
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

john.lam
Starting Member

12 Posts

Posted - 12/23/2009 :  04:46:39  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
1007 Posts

Posted - 12/23/2009 :  04:50:48  Show Profile  Visit senthil_nagore's Homepage  Send senthil_nagore a Yahoo! Message  Reply with Quote
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

United Kingdom
53 Posts

Posted - 12/28/2009 :  08:17:45  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000