Hi,
I am just wondering can I create foreign key constraint to itself in mySQL
innodb (the mySQL 3.23.50 release)?
Let's say we have a table: test_table_01 (id integer, pid integer) type =
innodb.
Can I create a foreign key on pid and reference to test_table_01 (id)?
Thanks,
Lisa,
- Original Message -
From: "Lisa Tong" <[EMAIL PROTECTED]>
Newsgroups: mailing.database.mysql
Sent: Tuesday, May 14, 2002 5:29 AM
Subject: foreign key constraint to itself
>
> Hi,
>
> I am just wondering can I create foreign key constraint to itself
Hi,
I am just wondering can I create foreign key constraint to itself in mySQL
innodb (the mySQL 3.23.50 release)?
Let's say we have a table: test_table_01 (id integer, pid integer) type =
innodb.
Can I create a foreign key on pid and reference to test_table_01 (id)?
Thanks,