What is the best data type to store 18 digit numeric value in MySQL
- The number is always positive
- This column will be a primary key and partition column
- The number of precision is always
18 - The number of decimals is always
0
There are multiple datatypes
BIGINT
FLOAT(18,0)
DECIMAL(18,0)
DOUBLE(18,0)
What is the industry standard and most efficient datatype in MySQL for storage and retrival of such values.