Tuesday, June 08, 2010

TSQL: Fixed Width Number Formatting


RIGHT('00000' + CAST(myNumber AS VARCHAR), 5)

No comments: