Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Only one column not extracting from Excel source

Status
Not open for further replies.

rockstar283

IS-IT--Management
Mar 17, 2013
4
US
I am trying to extract the data out of an excel file with 3 columns Success, Failure and Waiting. The data from Success and Failure is getting extracted perfectly, but no data is being extracted from the excel file. The data types of source and destination are matching. I tried different file with the same structure..but still no data is being extracted from the Waiting column.

Can anyone please help.

Thank you!!
 
Excel 8.0 connection manager..and all the three columns are float(DT_R8)
 
I asked for the connection string, not the driver used.
And also for the contents of the columns, not the datatype you used on SSIS for each column - not the same thing by far.


In any case you are using an older driver that is not advisable and that will not work on 64 bit computers.

My advise, before trying to solve any other problem that may arise is to use the ACE driver which works on both 32 and 64 bit environments



Sample connection string

provider = Microsoft.ACE.OLEDB.12.0; Data Source = "Excel file";Extended Properties = "Excel 12.0; HDR = Yes; Imex = 1;

HDR -Yes = has headers on first column = change to No otherwise
Imex - 1 = tells the driver to always read "intermixed" (numbers, dates, strings etc) data columns as text. Note that this option might affect excel sheet write access negative.

Most likely your problem is related to the Imex setting so try the above



Regards

Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top