Hi,
I have one column name issue_date in .csv file.
That filed has values like 1.9.2009 or 31.8.2009 or 31.12.2009 or 1.11.2010.
I want to load this column into table with date data type so in yyyy/mm/dd.
Using derived column in ssis, I got the yyyy and dd but I am not able to get mm from input column issue_Date.
To get day I used, FINDSTRING1 == 2 ? SUBSTRING("0" + [Issue Date],1,2) : SUBSTRING([Issue Date],1,2)
where FINDSTRING1 = FINDSTRING([Issue Date],".",1)
To get year I used, REVERSE(SUBSTRING(REVERSE([Issue Date]),1,4))
Please suggest. thanks for the help in advance.
Vicky