Determine all possible digits a for which
9...9a0...09 is a square number. (Excluding the digit a there are 101 9's and 100 0's in the number)
Squares, mod 9, are either 0, 1, 4 or 7.
The given number mod 9 equals a.
So, if the number is square, then a equals 0, 1, 4 or 7.
This is a necessary but not sufficient condition.