Adding a leading zero to some values in column in MySQL January 30, 2023 by Tarik Change the field back to numeric and use ZEROFILL to keep the zeros or use LPAD() SELECT LPAD('1234567', 8, '0');