I am trying to query a Greentree table and return a substring on a field using Microsoft's SSIS. SELECT oid, substring(statusText, 1, 100) FROM GLJournal Gives me an error saying: state: '42000'. Native Error Code: 8258. [Jade Software Corporation][JADE ODBC Server] Expecting: 'FROM'; found '(' at 12