|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 7:59 AM
Points: 24,
Visits: 86
|
|
HI, I have a task in ssis which loads data into DB from Source Files on my Drive, Issue is : i have to convert DATA TYPE of one column having data type of VARCHAR() to DATETIME.
But when convert it into DT-DATE , it give me ERROR "OVERFLOW" but same conversion is done in sql server. Why this conversion is not happening on SSIS LEVEL ?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: 2 days ago @ 11:53 AM
Points: 2,672,
Visits: 2,416
|
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: 2 days ago @ 7:09 AM
Points: 73,
Visits: 253
|
|
I think I faced this situation before and what I did (maybe is not the smart way) is to parse the strings using an expression in a Derived Column component. You will need a couple of tricks like the RIGHT function to force a leading zero for the month and days if they have only one digit, but at the end it is not so difficult.
Let me know if you have further questions.
Kind Regards.
Paul Hernández http://hernandezpaul.wordpress.com/ https://twitter.com/paul_eng
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 7:59 AM
Points: 24,
Visits: 86
|
|
Dear Rookie ur advice did the trick.thanks
|
|
|
|