create procedure pro9 as declare @ID int set @ID =5 while(@ID<10) begin insert into Student_information values(@ID,'lili','男') set @ID=@ID+1 end GO exec pro9 drop procedure pro9