亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Data types for beginners to PHP

mysql Data Type

The type of data field defined in MySQL is very important for the optimization of your database.

MySQL supports multiple types, which can be roughly divided into three categories: numerical, date/time and string (character) types

Numerical types, please see the following Zhang table

圖片5.png

##Date and time types

圖片6.png

##The date and time types representing time values ??are DATETIME, DATE, TIMESTAMP, TIME and YEAR.

Each time type has a valid value range and a "zero" value. The "zero" value is used when specifying an illegal value that MySQL cannot represent

String typeString type refers to CHAR, VARCHAR, BINARY, VARBINARY, BLOB, TEXT, ENUM and SET. This section describes how these types work and how to use them in queries


圖片7.png


Continuing Learning
||
<?php echo "歡迎學(xué)習(xí)數(shù)據(jù)庫數(shù)據(jù)類型"; ?>
submitReset Code