SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Data Conversion Help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

62 Posts

Posted - 11/19/2012 :  17:11:21  Show Profile  Reply with Quote
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

Very Important crosS Applying yaK Herder

52325 Posts

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

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000