摘要: update [dbo].[Supplier] set SysCode=b.SysCode from (select 'GYS'+right(1000000+ROW_NUMBER() over(order by id),6) SysCode,ID from [dbo].[Supplier])bwhe 阅读全文
posted @ 2017-12-14 16:16 xjt360 阅读(147) 评论(0) 推荐(0) 编辑