carlyman Posted June 8, 2005 Report Share Posted June 8, 2005 When creating a table with foreign key constraints, the table is created successfully; however, the constraints don't hold true. For example, when inserting values into the new table, the values inserted should match the referenced values. This is not happening. Here is an example of my statement:CREATE TABLE test (a int, b int, c int, FOREIGN KEY (a, REFERENCES test2(e,f)) Would the Uniform Server package be affecting this at all? Or, perhaps I am dong something wrong? Thanks for your help,JC Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted June 8, 2005 Report Share Posted June 8, 2005 I do not think it is the Uniform Server. I use KEYs a lot, and mostly PRIMARY KEYs but everything works fine. It may also depend on the version of MySQL running... Please look into that.. or test it with an example from the MySQL site/doc. Thanks. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.