There are 126 pairs $i\lt x\le 1000$ such that $i^2+(i+1)^2+...+x^2$ is a square. If you fix $i$ then the sum $i^2+...+x^2$ is a cubic polynomial $f_i(x)$ in $x$. So you are looking for integer points on the elliptic curve $y^2=f_i(x)$. For example for $i=3$, the first of these are $(4,5), (580, 8075), (963,17267)$. I hope number theorists here can give more information. See also the comment by JSE below.