Q&A about the site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment
CREATE TABLE #table_name(birthdate_new VARCHAR(8)); INSERT INTO #table_name VALUES ('12162003'), ('72004'); select RIGHT('00000000' + birthdate_new, 8) from #table_name