List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:November 26 2003 9:24am
Subject:Re: Inserting data into table1 should insert data into table2's FK ???
View as plain text  
"Paul Fine" <pfine@stripped> wrote:
> 
> If I have two tables with the first table containing a field which is FK of
> table 2, when I insert a value into this field, should it not automagically
> insert a value into that PK in the second table?
> 

No, it should not insert data in the child table. You should insert data manually.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
Inserting data into table1 should insert data into table2's FK ???Paul Fine25 Nov
  • Re: Inserting data into table1 should insert data into table2's FK ???Egor Egorov26 Nov
    • RE: Inserting data into table1 should insert data into table2's FK ???Daevid Vincent26 Nov