Reply to Foreign key constraints?

Your name:

Reply:


Posted by JS on 05/22/05 18:09

I have two tables, T1 and T2.

T1 has a foreign Key that refers to a key in T2.

The way that I see it, its only possible to insert something into T1 if
there already exists a tuple in T2 with the same value in key.

That means that I always have to insert something into T2 before inserting
into T1

Is that correct?

[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

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