while循环要加上begin end @i = @i+1 要改为 set @i = @i+1
declare @i intset @i=3while @i<10begin insert into student(id,name,email) values(@i,'er','we.f') set @i = @i+1end
while后面的循环要加上begin end
set @i = @i+1