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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

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

aswindba1
Yak Posting Veteran

USA
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

visakh16
Very Important crosS Applying yaK Herder

India
52326 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
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next 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.4 seconds. Powered By: Snitz Forums 2000