SQL 快速生成不重複的卡號

 

 

--0042-9923-3598


select id = right('000000000000' + cast(cast(rand(checksum(newid()))*1000000000000 as bigint) as varchar),12) from Order

blog

相關文章
相關標籤/搜索