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

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

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

INSERT INTO #table_name 
VALUES ('12162'), ('5072004');

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

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results