I'm working in ETL process where I have a column in a table varchar with data as 28JUN1952
.
This will always be in this format i.e. 2 digits for date, 3 letters for months and 4 numbers for years.
I was able to convert this into a date column by I need this to come in yyyyMMdd
format i.e. 28JUN1952
become 19520628
. I was able split the years months and date, but unable to add a padding in the month if it's a 1 digit month for e.g. Jan
or Feb
.
Is there any other way to convert the data format or any other alternative to add a padding?
I need the conversion in SSIS only.