小弟我的mysql中没有bit型 请教 性别字段设置成什么类型呀

WBOY
Release: 2016-06-13 10:05:22
Original
1734 people have browsed it

我的mysql中没有bit型 请问 性别字段设置成什么类型呀?
我的mysql中没有bit型 ,有bool类型,
请问 性别字段设置成什么类型呀?

------解决方案--------------------
http://topic.csdn.net/u/20100329/17/533993b7-9e8c-4615-b16c-910a208a4498.html
发两遍啊- -
------解决方案--------------------
mysql中有bit型的
------解决方案--------------------
tinyint(1)
------解决方案--------------------
建议用枚举类型
------解决方案--------------------
同上,枚举类型!~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!