MySQL Forums
Forum List  »  InnoDB

Re: Server going away after a few seconds
Posted by: Rick James
Date: April 12, 2016 07:51PM

> Me: this field also needs to contain some text when the year isn't exact, such as 'Unknown'

Use the datatype YEAR, and have it be NULL. Then filter as you do data entry -- if it looks like a year, store it, else store NULL.

Options: ReplyQuote

Written By
Re: Server going away after a few seconds
April 12, 2016 07:51PM

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.