Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Mapping numeric to nvarchar eliminates leading zero

$
0
0

I am working with VS SSIS 2015 and SQL SERVER 2017 (14.0.1000.169). The problem I'm facing is when I'm mapping a numeric data type column in SSIS to nvarchar column in SQL table. The value of the column in SSIS does contain a leading zero (0.07), but when mapped to a table it eliminates the leading zero (.07).

When i see the data viewer just before insert to the table, the values are just fine (0.07,0.08)

The metadata just before insert to the table is also fine. The both columns are DT_NUMERIC (4,2)

Please advise, and thank you in advance. Best Regards.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>