List:General Discussion« Previous MessageNext Message »
From:Martijn Tonies Date:March 31 2006 2:53pm
Subject:Re: Table Type For PK/FK
View as plain text  
Hello Sheeri,

> Indeed, only the BDB and InnoDB storage engines support referential
> integrity.  If you accidentally create the table as MyISAM, there is
> no error, though -- the constraints serve as a comment.

No error? A comment? What use is that?

If you want FKs, having the FKs as "a comment" is useless.

Instead, re-create the table as of the InnoDB type.

Martijn Tonies
Database Workbench - development tool for MySQL, and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Thread
Table Type For PK/FKScott Purcell31 Mar
  • Re: Table Type For PK/FKsheeri kritzer31 Mar
  • Re: Table Type For PK/FKMartijn Tonies31 Mar
  • Re: Table Type For PK/FKMartijn Tonies31 Mar
    • Re: Table Type For PK/FKsheeri kritzer31 Mar
      • Re: Table Type For PK/FKmysql31 Mar