Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Data Conversion Help

Author  Topic 

aswindba1
Yak Posting Veteran

62 Posts

Posted - 2012-11-19 : 17:11:21
trying to Imprt data from Excel to Table in SSIS.

One of the column in excel is in Date format. But this column is not populating in to the tables.
It's giving different numbers. I even use Data Conversion but still giving the wrong result.

Input column : 8/30/2012

After Execute the package the column in the table looks like

Output Column : 41151

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-11-20 : 02:50:02
make the datatype as DT_DBDATE in SSIS in Data Conversion task or do casting in source if using OPENROWSET method

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -