Viewing post 1 (of 1 total)
Try this
SELECT RIGHT('000000' + CAST(Col1 as VARCHAR), 6) + RIGHT('000' + CAST(Col2 as VARCHAR), 3)
Hope this helps.
Edit:
Just saw this was an older post lol
September 30, 2014 at 3:12 pm
#1749266