It is determined by M (the length of the entire number, including the decimal point, the number of digits on the left of the decimal point, the number of digits on the right of the decimal point, but not the negative number) and D (the number of digits on the right of the decimal point, M is 10 by default, D is 0 by default
DATE
1000-01-01-9999-12-31
DATETIME
1000-01-01 00:00:00-9999-12-31 23:59:59
TIMESTAMP
2037 00:00:00-one day in December (I don't know which day, huh, huh)
TIME
-838: 59: 59' to 838: 59: 59
YEAR [(2 | 4)]
The default format is 4 bits. the value range of 4 bits is 1901-1970, 2069, and the value range of 2 bits is 70-69)
CHAR (M) [BINARY] or NCHAR (M) [BINARY]
M ranges from 1 to 255. if BINARY is not available, it is case-insensitive. NCHAR indicates that the default character set is used. fill in space in the database, but the space at the end of the removal will be automatically removed.
[NATIONAL] VARCHAR (M) [BINARY]
M ranges from 1 to 255. spaces at the end of the database will be removed automatically.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service