-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Building a Web Application with PHP and MariaDB: A Reference Guide
By :
Let us look at the following main datatypes:
|
Datatype |
Explanation |
Comments |
|---|---|---|
|
|
This stores a fixed-length string between 0 and 255 bytes. |
Trailing spaces are removed. |
|
|
This stores a variable-length string between 0 and 65,535 characters. |
65,535 is the effective maximum row size for table. |
|
|
This stores character data and the maximum length of a text column is 65,535 characters. |
Length need not be specified. |
|
|
This stores the text column with a maximum length of 255 characters. | |
|
|
This stores the text column with a maximum length of 16,777,215 characters. | |
|
|
This stores the text column with a maximum length of 4,294,967,295 characters. | |
|
|
This stores binary data and the maximum length of a text column is 65,535 bytes. |
Binary Large Objects are used to store binary data such as images. |
|
|
The | |
|
|
This stores the text column with a maximum length of 16,777,215 bytes. | |
|
|
This stores the text column with a maximum length of 4,294,967,295 bytes. | |
|
|
This provides a list of strings from which a value can be chosen. |
A list of 65,535 values can be inserted into the |
|
|
This is similar to the |
Can have a maximum of 64 distinct values. |
Change the font size
Change margin width
Change background colour