mysql数据库数据类型
时间: 2023-08-25 07:18:16 浏览: 132
MySQL数据库支持多种数据类型,包括整数类型、浮点数类型、日期和时间类型、字符串类型和二进制数据类型。整数类型包括TINYINT、SMALLINT、MEDIUMINT、INT和BIGINT。浮点数类型包括FLOAT、DOUBLE和DECIMAL。日期和时间类型包括DATE、TIME、DATETIME、TIMESTAMP和YEAR。字符串类型包括CHAR、VARCHAR、TEXT、MEDIUMTEXT、LONGTEXT、BLOB、MEDIUMBLOB和LONGBLOB。二进制数据类型包括BLOB、MEDIUMBLOB和LONGBLOB。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [MySQl数据类型](https://blog.csdn.net/weixin_45441862/article/details/121211086)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [MySQL常用的数据类型](https://blog.csdn.net/dxn16638400024/article/details/131494119)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文