Here are a couple of way to do it: select M1 = right(1000000+MyNumber,4) , M2 = right('0000'+convert(varchar(20),MyNumber),4) from ( select ...
確定! 回上一頁