You are here: Re: SQL - Foreign key with references of multiple tables with same primary key field « MsSQL Server « IT news, forums, messages
Re: SQL - Foreign key with references of multiple tables with same primary key field

Posted by Ed Murphy on 04/09/07 06:30

Chirag wrote:

> I want to create a table with
>
> member id(primary key for Students,faculty and staff [Tables])
>
> and now i want to create issues[Tables] with foreign key as member id
> but in references i could not able to pass on reference as or
> condition for students, faculty and staff.

Create a Members table, then have all the other tables reference it.

 

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

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