sql给整数补零

 update hs_user.clientorder a set a.stockcode = lpad(a.stockcode,6,'0')   where a.market = 'SZ' 
posted @ 2016-10-31 00:46  TIMLONG  阅读(765)  评论(0编辑  收藏  举报