Quantcast
Channel: COGNOiSe.com - The IBM Cognos Community
Viewing all articles
Browse latest Browse all 12971

Re: Add Leading Zeroes to a data item?

$
0
0
I figured it out.  I was just thinking backwards in my solution.

Instead of my initial case function, I was able to use the following:

case
when [Social Security Number] between 0 and 9 then '00000000' || cast([Social Security Number], varchar(10))
...

Viewing all articles
Browse latest Browse all 12971

Trending Articles



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