MySQL Forums
Forum List  »  Newbie

Re: Foreign key error 1091
Posted by: David Fells
Date: April 05, 2005 07:46AM

You can't change the data type of any field that is referenced by another table without first dropping those relations, which means you have to recreate them after changing the data type for the field in all involved tables.

Are you trying to add a column that existed before as a foreign key, by any chance?

Options: ReplyQuote


Subject
Written By
Posted
April 05, 2005 06:05AM
Re: Foreign key error 1091
April 05, 2005 07:46AM
April 07, 2005 06:38AM


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.