select right(cast('0000000000'+rtrim(字段) as varchar(20)),7)
declare @i intdeclare @qid int
set @i=1set @qid=100
while @i<50000begininsert into Order(orderid,ordername) values(@qid,'订单名称')set @i=@i+1set @qid=@qid+1end
Powered by: 博客园 Copyright © 2024 且行且思 Powered by .NET 9.0 on Kubernetes