sql 数字转换为字符串补0时间:2021-10-29 07:04:49select right('00000000000'+convert(varchar(5),123),5) select right('00000000000'+cast(123 as varchar(6)),6)