Adding leading zeros...
526844Nov 26 2006 — edited Dec 21 2006I have a number (let's say 12345) and I need to add 3 leading zeros to it and make it 00012345. I could do it by first converting the number to a string, concatenating '000' to it and then converting it back to a number.
I realize this is a trivial question, but how do you convert a number to a string and then back to a number in Oracle 10g?
Thanks.