If you ever received this error then try to write field names in the Oracle with upper case, or use quotas.
Error: ora-01036 illegal variable name/number will happen if you added parameter in Param of TSQLQuery and there is no parameter in the SQL (there is no anything as :Parameter)