Viewing post 1 (of 1 total)
Thanks Jeff, good to know. I personally have always used this syntax: REPLICATE('0',10-LEN(SomeNumber)) + CAST(somenumber AS VARCHAR(10)), which has always worked well for me, but appears to be slightly...
REPLICATE('0',10-LEN(SomeNumber)) + CAST(somenumber AS VARCHAR(10))
December 21, 2010 at 11:43 am
#1265209