I want to update a column in my table with concat of 2 fields.
It works fine, but i want to append 0 to one of the field if its not 2 digits because i want my month data to be 2 digits long.
What i have in months column is single digit data.
update employee_status set year_month = concat(year,month);
Sounds like you want lpad