开发者

What database field type do you use for yes/no entries in SQL Buddy?

开发者 https://www.devze.com 2022-12-09 02:37 出处:网络
I am new to all this so looking for some help. So开发者_如何学运维rry if the question is really novice. I am learning all of the char, varchar, etc. Try BOOL.(It\'s an alias for TINYINT(1).)

I am new to all this so looking for some help. So开发者_如何学运维rry if the question is really novice. I am learning all of the char, varchar, etc.


Try BOOL. (It's an alias for TINYINT(1).)

If the MySQL server is at least version 5.0.3, you can also use BIT (or BIT(1), same thing).

You'd probably benefit from checking out some of the docs.

0

精彩评论

暂无评论...
验证码 换一张
取 消