sql 将数字1转为0001

来源:互联网 发布:mac的应用程序在哪里 编辑:程序博客网 时间:2024/05/21 09:01
declare @i integer
set @i=1
select replace(str(@i,4,0),' ','0')
原创粉丝点击