Problem : Data got truncatedin reading Excel source

Hi
I have created a SSIS package which retrive data from Excel file, perform some calculation and insert data into database.My Excel file formate is 'General',
Its column contain data upto 11 decimal.
When I lookup in ExcelSource ->Edit-->Previe, it shows me value upto 11 decimal, but when I am transfering the data to Derived column component it got truncated to 4 decimal.
I am using decimal datatype int Derived column.
Can any one suggest, what will be the problem.
Thanks!!!
Regards,
Abhishek


Answer this question

Problem : Data got truncatedin reading Excel source

  • IceStationZebra

    Since "double" is practically speaking the only numeric datatype that the Excel driver uses, I question whether you're facing a genuine truncation issue. The Excel driver does not support precision and scale specifications, to the best of my knowledge...although settings of this sort downstream in the data flow could affect the output.

    I would be inclined to create a package by using the SQL Server Import and Export Wizard and examine the column types that it uses, as well as any Data Conversion transformations that it adds to the data flow.

    -Doug

  • Problem : Data got truncatedin reading Excel source