批量插入100条记录 set nocount on declare @i int=1; while @i<=100 begin Insert into Client(id,ClientCode,ClientName,ClientGroup,stype,Contact,ClientTel,SendAddress) select @i+8,'C'+right('000000'+CAST(@i as varchar),6),'Customer'+CAST(@i as varchar),'B组','E帐…