Reply to Re: one to one relationship

Your name:

Reply:


Posted by DA Morgan on 06/30/05 09:05

rjl444@hotmail.com wrote:
> I created 2 tables with one to one relationship. if I add a record in
> table A, how does table B record get created? Does SQL do this
> automatically because it is one to one relationship? or do I need to
> create a trigger? if i need a trigger, how do I get the ID of new
> record to create the same ID in table B?
> thanks for any help.
> Joe Klein

From the standpoint of pure design: What justification is there for
two tables with a 1:1 relationship?
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)

[Back to original 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

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