MySQL Forums
Forum List  »  Newbie

Re: foreign key constraint fails
Posted by: Jon Erik Ween
Date: March 30, 2012 01:42PM

Thanks Peter, appreciate the tip

But I actually fixed the data formatting issue on the web interface since my original post and there is still nothing doin'.

Funny thing is also that the INSERT actually worked with the wrong date format as long as the lookup.ID was <115! (the date field value was 000-00-00, but the insert was allowed).

Anyway. After fixing the date format so the insert date field is correct, I can still insert with Lookup.ID <115, but get the field constraint error with anything >114. There seems to be something magical about the ID value.

Ideas?

Cheers

Jon

Options: ReplyQuote


Subject
Written By
Posted
Re: foreign key constraint fails
March 30, 2012 01:42PM


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.