I have an INT field in my table, which I\'d like to select as a zero-padded string. So for example, 8 would come out as 008, 23 as 023 and so on. I
008
023
Depending on the version of mySql you have, you could define a UDF that would format the value for you. see http://dev.mysql.com/doc/refman/5.1/en/adding-functions.html.