Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

how to lpad 0 to a field decimal(6,0)

$
0
0

Hi

 

I am mapping a  decimal(6,0) field to decimal(6,0) field and finds that some of the source data have only 5 digits.I needed to place a 0 in front of those numbers that doesnt have 6 digits.


I tried lpad and dint work.

I tried 0|| field name dint work


Any suggestions?


Cheers


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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