3706 expecting something between beginning of the request and SELECT

Tools

3706 expecting something between beginning of the request and SELECT

SELECT * FROM CUST.MEMBER

This simple SQL runs just fine if I type it on SQL Assistant. But if I copy paste this from notepad SQL assistant throws this 3706 error. There are times, to debug a code, I need to copy paste few 100 lines of working code to SQL assistance and it makes me type the whole code to execute it. what a waste of time :( did someone experience this before?

I am running a TD 14 client on a TD13 database. We have 1 test on 14, and Prod on 13.

ODBC is Provider version is ODBC 14.10.00.00

Your assitance is appreciated.