The valid range for 'Limit SQL results sent to Output window' is 1-65535.
The value you entered is outside the permissible range for number of output rows. The default value of 500 rows is often sufficient to determine if your SQL script is working properly.
To correct this error
Reenter a value between 1–65535 rows.