Null Values while loading the Excel file to the table
-
Monday, January 21, 2013 8:40 AM
Hi,
Loading the excel file to the table using SSIS 2005.
Excel file contains the below columns and values
Date Routine Days Count CntNumber 1/11/13 XYZ 3 77 987 1/11/13 XYZ 4 3 987 1/11/13 XYZ 5 4 987 1/11/13 XYZ 6 4 987 1/11/13 XYZ 7 99 987 ISsue:
When tried to load the file, it load the column"CntNumber" as NULL values.
But if we open the excel file, double click on the column "CntNumber" , save it and execute the package, it successfully loaded.
Dont know the exact cause...
Please advise me how to solve this issue?
Regards
SqlStud
All Replies
-
Monday, January 21, 2013 8:49 AMModerator
If you get NULLS in SSIS while loading from excel

Read one of these (by default excel uses the first 8 row to determine the datatype):
http://microsoft-ssis.blogspot.com/2011/06/mixed-data-types-in-excel-column.html
http://blogs.lessthandot.com/index.php/DataMgmt/ssis-1/what-s-the-deal-withPlease mark the post as answered if it answers your question | My SSIS Blog: http://microsoft-ssis.blogspot.com | Twitter
- Proposed As Answer by Koen VerbeeckMicrosoft Community Contributor Monday, January 21, 2013 9:49 AM
- Marked As Answer by Eileen ZhaoMicrosoft Contingent Staff, Moderator Monday, January 28, 2013 2:28 AM

