/*1、输出1到100的连续和*/ declare @i int , @sum int select @i =1, @sum=0; while(@i