close
EX : Select Right('00000000' + Cast(123 as varchar),8) > '00000123'
參考自 : The Will Will Blog
http://blog.miniasp.com/post/2010/05/T-SQL-Tips-Fixed-Length-Number-with-Zero-Padded.aspx
全站熱搜
EX : Select Right('00000000' + Cast(123 as varchar),8) > '00000123'
參考自 : The Will Will Blog
http://blog.miniasp.com/post/2010/05/T-SQL-Tips-Fixed-Length-Number-with-Zero-Padded.aspx