3.1_SQL Data Types
3.1_SQL Data Types
Very small
TINYINT 0 to 255
integers
Exact fixed-point
DECIMAL numbers (e.g., for -10^38 + 1 to 10^38 - 1
financial values)
Similar to
NUMERIC DECIMAL, used -10^38 + 1 to 10^38 - 1
for precision data
-1.79E+308 to
FLOAT Approximate numeric values
1.79E+308
DATETIME store both the data and time (year, month, 8 Bytes
Storage
Data Type Description Size