declare @iSum intdeclare @iCount intselect @iSum = 0select @iCount = 1while @iCount <= 100beginselect @iSum = @i