Hi Guys,
I'm trying to figure out the best way to keep my numbers in sets of two digits. Using mySQL.
01
02
03
04
05
06
07
08
09
10
11
12
etc
etc
Is there a datatype that supports this? The max I want is 99, but I just want to get the most efficient datatype as possible. I'm tempted to just use smallint, and format it after the fact.
So if not a datatype for it, and it'd be better to just have mySQL format a smallint, what function would be best to make the format?
I'm trying to figure out the best way to keep my numbers in sets of two digits. Using mySQL.
01
02
03
04
05
06
07
08
09
10
11
12
etc
etc
Is there a datatype that supports this? The max I want is 99, but I just want to get the most efficient datatype as possible. I'm tempted to just use smallint, and format it after the fact.
So if not a datatype for it, and it'd be better to just have mySQL format a smallint, what function would be best to make the format?