Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to add 0's before the string in MS SQL server?

$
0
0

Hi,

I need to add 0's to the left.

my rule says that "loaded in this format:'002' + Equivalent SE PLU (5 digits) + '00000' + DV "

Please provide the command which is equivalent to LPAD in oracle.Thanks in advance.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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