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

Issue is getting leading 0 in values

$
0
0

I am importing data from excel to SQL Server 2016 using SSIS. Field is Latitude & Longitude

I am using formula (DT_STR,255,1252)((DT_NUMERIC,9,6)(Latitude)) to import the values in Varchar(255) column. I am facing the issue when Latitude & Longitude starts with 0 eg (-0.737610 or 0.737610).

After executing the package when I saw the values in Database I saw like (-.737610 or .737610) where leading 0 will get disappear.

Can anyone please help me resolve my problem.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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