You are here: Re: foreign keys - on which kind of keys do the base on? « MsSQL Server « IT news, forums, messages
Re: foreign keys - on which kind of keys do the base on?

Posted by RRR on 11/23/07 16:33

On Nov 22, 4:41 pm, Erland Sommarskog <esq...@sommarskog.se> wrote:
> I don't know about your data model, but I would hold it as likely that
> either you have an incorrect design, or you have a misconception of what
> you want to do. I have ran into the situation that I wanted a partial
> FK myself, but it's a very rare scenario.

A foreign key should reference the (primary) "key, the whole key and
nothing but the whole key, so help me Codd!"

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация