Question : SSIS import from Excel giving me nulls

I have a SSIS package set up to pull data from an Excel spreadsheet into a MS SQL server 2005 database.  In columns that contain numeric values, some of them are imported as NULL values.  It appears very random.  For example, I have one where the first 50 rows are imported properly, then the next 70 are null, then the remaining are the proper values.

I am importing them into a straight varchar field anyway, so how can I force everything as text?

Answer : SSIS import from Excel giving me nulls

It sounds a lot like this same problem with the Excel driver:

http://www.sqldts.com/254.aspx

Of course you are using SSIS but you should be able to alter the connect string in the same way.

Random Solutions  
 
programming4us programming4us