MySQL in boolean type set

Set boolean with MySQL found with this time there is no such type, then check the information to know:

It is represented by the boolean tinyint,

 

1 represents the time with MYSQL save BOOLEAN value TRUE, 0 represents the FALSE, boolean type in MySQL is tinyint (1) 

In this make a share, easy to find use.

Guess you like

Origin www.cnblogs.com/zyx110/p/11368031.html