Importing Date from Excel to SSIS

Who is online?  0 guests and 0 members
Home  »  Forums   »  microsoft business intelligence   »  integration services   » Importing Date from Excel to SSIS

Importing Date from Excel to SSIS

Topic RSS Feed

Posts under the topic: Importing Date from Excel to SSIS

Posted: 1/25/2012

Jedi Youngling 2  points  Jedi Youngling
  • Joined on: 1/25/2012
  • Posts: 1

Hi Everyone,

I am trying to fetch date from Excel source, by default the excel column is in UK format but when the date is given in anyother format, it returns NULL.

I want excel to return date in any of these format to my ExcelSource in SSIS:

20120125

25/01/2012

01/25/2012

01/25/2012 00:00:000

25/01/2012 00:00:000

25012012 00:00:000

 

Thanks in advance


Posted: 1/25/2012

Jedi Master 5325  points  Jedi Master
  • Joined on: 10/27/2009
  • Posts: 298

You will probably need to convert the date to a string and then manipulate the string. Here are some blogs I wrote that might help.

 

http://www.bidn.com/blogs/MikeDavis/ssis/171/converting-date-and-time-from-db2-to-sql-in-ssis

 

http://www.bidn.com/blogs/MikeDavis/ssis/312/ssis-convert-string-to-date-no-dashes


Page 1 of 1 (2 items)