0% found this document useful (0 votes)
49 views1 page

Mysql Data Types: Date Type Spec Data Type Spec

The document describes MySQL data types including string, integer, decimal, and date/time data types along with their specifications and storage limits.

Uploaded by

AbdulUbed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views1 page

Mysql Data Types: Date Type Spec Data Type Spec

The document describes MySQL data types including string, integer, decimal, and date/time data types along with their specifications and storage limits.

Uploaded by

AbdulUbed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

MySQL DATA TYPES

DATE TYPE SPEC DATA TYPE SPEC


Integer (-2147483648 to 214748-
CHAR String (0 - 255) INT
3647)
Integer (-9223372036854775808
VARCHAR String (0 - 255) BIGINT
to 9223372036854775807)
TINYTEXT String (0 - 255) FLOAT Decimal (precise to 23 digits)
TEXT String (0 - 65535) DOUBLE Decimal (24 to 53 digits)
BLOB String (0 - 65535) DECIMAL "DOUBLE" stored as string
MEDIUMTEXT String (0 - 16777215) DATE YYYY-MM-DD
MEDIUMBLOB String (0 - 16777215) DATETIME YYYY-MM-DD HH:MM:SS
LONGTEXT String (0 - 4294967295) TIMESTAMP YYYYMMDDHHMMSS
LONGBLOB String (0 - 4294967295) TIME HH:MM:SS
TINYINT Integer (-128 to 127) ENUM One of preset options
SMALLINT Integer (-32768 to 32767) SET Selection of preset options
Integer (-8388608 to
MEDIUMINT TINYINT(1)
8388607) BOOLEAN
Copyright © mysqltutorial.org. All rights reserved.

You might also like