[MS SQL] 產生數字前面補零的固定長度字串. EX : Select Right('00000000' + Cast( 123 as varchar),8) > '00000123'. 參考自: The Will Will Blog
felixhuang.pixnet.net