Q&A for Ubuntu users and developers
CREATE TABLE #table_name(birthdate_new VARCHAR(8)); INSERT INTO #table_name VALUES ('1'), ('2'); select RIGHT('0' + birthdate_new, 8) from #table_name