I believe this is a basic question about data type in MySQL but I can't find answer ...
I have a column defined like this: CD4: max N4, R
N4 means that this column hold numeric values which has 4 numbers and R (required) means that it can't be NULL
max N4 means that the column could hold a value with 4 characters or less.
How can I declare such a column?
I think if I declare the column to be: CD4 mediumint(4) not null
then the value stored in the column must have 4 character right?