[EMAIL PROTECTED] wrote:
> 
> I have a table with a foreign key that references two
> different parent tables.
> I can't insert a row into this child table unless the
> data is in both parent tables. I don't want the data to
> be in both parent tables.
> 

It's how foreign key constraints work. Foreign key can take only those values 
contained in the referenced key.



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




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to