Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Is RIGHT() right?

$
0
0

I have the same result like you, but you can use this:

 

SELECT LPAD (cast(round((rand() *100),0) as nvarchar(10) ), 5, '0') "lpad" FROM DUMMY;


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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