Re: errno 150 - foreign key problems
Index cannot be longer than about 1000 bytes (cannot remember the exact number)
If you have 1500, that exceed the max index size, and foreign key constraints require the columns to be indexed. You also need to create an index on the column in the referenced table.
Subject
Views
Written By
Posted
58908
June 09, 2006 03:50PM
23188
June 12, 2006 12:55AM
13613
June 12, 2006 08:22AM
9710
December 07, 2006 07:28AM
8237
June 12, 2006 02:07PM
7358
October 07, 2008 04:58PM
Re: errno 150 - foreign key problems
6244
October 07, 2008 05:55PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.