I need to maintain 4 digits in a column in MySQL. E.g. 0003, 1234, 0059.
Currently I have it as INT. But other than VARCHAR is it possible to store the numbers as INT and still maintain 4 numbers? So basically if I add 0005
it should store as 0005
? How can I do this?