CREATE TABLE #table_name(birthdate_new VARCHAR(8)); INSE...


Please login or register to vote for this query.

(click on this box to dismiss)

History of Science and Math

Q&A for people interested in the history and origins of science and mathematics

CREATE TABLE #table_name(birthdate_new VARCHAR(8));

INSERT INTO #table_name 
VALUES ('12162003'), ('507200');

select RIGHT('00000000' + birthdate_new, 8)
from #table_name

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results