MySQL Forums
Forum List  »  Newbie

Re: TINYINT {0 | 1| 2}
Posted by: Peter Brawley
Date: February 09, 2017 12:50PM

The spec says the tinyint column may take values of 0, 1 or 2. MySQL will let you specify that with a standard SQL CHECK clause, but MySQL will not implement the CHECK, you will need to do that in code.

Options: ReplyQuote


Subject
Written By
Posted
February 09, 2017 07:51AM
Re: TINYINT {0 | 1| 2}
February 09, 2017 12:50PM
February 09, 2017 02:17PM
February 09, 2017 02:57PM


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.