摘要: print right( '0000'+ convert(nvarchar(3),convert(int,right(@GetMaxNo,@typecode))+1),4) 字段获取值:20221206001 ,类型为字符串型。YYYYMMDD+3位流水,需要得到 20221206002。 阅读全文
posted @ 2022-12-06 08:58 redhat588 阅读(171) 评论(0) 推荐(0)