I have a field that is varchar(8), holding date values that I converted from float to varchar.
Some records have eight characters, and some have seven. I would like to make them all the same length by adding a leading zero to the ones that have 7.
8 char example: 12162003
7 char example: 5072004 (needs a leading zero)
The query:
select birthdate_new from table_name