"Ranetbauer, Michael" <[EMAIL PROTECTED]> wrote:
> Hi!
>
> At first thanks for your help.
>
> Now I can change the PRIMARY KEY of the table, but now I have a new
> question:
>
> How can I change the FOREIGN KEYS?
>
You can drop old FOREIGN KEY with ALTER TABLE .. DROP FOREIGN KEY statement:
http://www.mysql.com/doc/en/InnoDB_foreign_key_constraints.html
Then create a new one.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [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]