Re: Database design and foreign keys
You can only use foreign keys with the InnoDB engine at this point. Of course you can use logical foreign keys to relate the tables but this doesn't enforce referential integrity at the database level. In your situation you would simply have a field in the customer table containing the id of the appropriate record in the sales table (if not an id, then whatever your primary key is).
Subject
Written By
Posted
Re: Database design and foreign keys
March 24, 2005 10:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.