国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

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