All data in the database is stored in the table. Data tables include rows and columns. The column determines the data type in the table. The row contains the actual data.
For example, the table authors in the database pubs has nine fields. The
This blog is a little bit long, it actually includes two content: one is the description of the MySQL field type, and the second is how to correctly select these field types in the MySQL build table process; field Type value
MySQL's numeric
Should varchar or datetime be used for the field type of date stored in the database ?, Varchardatetime
Background:
Some time ago, I saw an article "how to show your (lover) name in the lower right corner of my computer" in Baidu experience. I have
There are a lot of related to char and varchar on the Internet, but all have a long history, here reprint a piece of information relatively new, personally think to my design field decision help very much.
Modern databases generally support char
Bit integral typeThe bit data type is integral, and its value can only be 0, 1, or null. This data type is used to store data that has only two possible values, such as Yes or No, True or false, on, or off.Note: A data type that is space-saving and
Type of a value
Storage required for column typesTINYINT 1 bytesSMALLINT 2 bytesMediumint 3 bytesINT 4 bytesINTEGER 4 bytesBIGINT 8 bytesFLOAT (x) 4 if X FLOAT 4 bytesDOUBLE 8 bytesDOUBLE PRECISION 8 bytesReal 8 bytesDECIMAL (m,d) m bytes (d+2, if
Background: some time ago, I saw an article "how to show your (lover) name in the lower right corner of my computer" in Baidu experience. I have heard of this tip before, but I have not really set it, so I tried it out of curiosity. After setting,
SQL Server database field type descriptionThere are currently x field types in SQL Server database, broadly divided into 9 categories, namely string type, binary character string data type, Unincode string data, integer type, exact data type,
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.