I'm using MySQL Max 4.0.1

----
CREATE TABLE TableTwo
(
        Id              int NOT NULL auto_increment,
        FK_TableOne     int NOT NULL REFERENCES TableOne(Id),

        PRIMARY KEY (Id)
) TYPE=InnoDB;
----

--> How can this work without having beforehand created the table "TableOne"
???

Normally it should result in an error, shouldn't it ?


/Chris


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to