Hi ,
I am facing a strange issue using SSIS and need some help in this regard. Le me first set the context. I have a simple package that is used to load an excel file content into a SQL Table. There is a script component used to achieve this since the data from the excel should be unpivoted and loaded into the table in SQL Server. We are using Provider=Microsoft.ACE.OLEDB.12.0;Data Source=filePath;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1" as a driver to connect to the excel and load. The excel file as some string columns and few numeric columns. We are facing an issue while loading the numeric columns. We are reading the numeric columns also as DT_STR and mapping this to a target column which is a Decimal type. The intention is to get the number as it is given in the file without rounding off or truncating. There is a number0.055464 which is getting rounded off to 0.0555 which is not acceptable. What is more surprising is I have copied the same project to another environment(UAT) and execute it there the number is getting loaded as 0.055464 as expected. The UAT environment also uses the same drivers and the connection strings as mentioned above. Any help to troubleshoot this will be much appreciated.
Thanks,
Pavan