SUMMARY
In Strategy Developer 10.4.2 the scheduled purge statistics task does not delete from IS_SESSION_STATS statistics table.
STEPS TO REPRODUCE
ERROR MESSAGE
Execute Query failed. Error type: Odbc error. Odbc operation attempted: SQLExecDirect. [Strategy][ODBC Oracle Wire Protocol driver][Oracle] ORA-00904: "PROJECTID": invalid identifier. SQL Statement: Delete from IS_SESSION_STATS where (PROJECTID ='xxx' OR PROJECTID IS NULL) AND (RECORDTIME BETWEEN To_Date('xx-xx-xxxx xx:xx:xx', 'DD-MM-YYYY HH24:MI:SS') AND To_Date('xx-xx-xxxx xx:xx:xx', 'DD-MM-YYYY HH24:MI:SS')).
CAUSE
This is a known issue with Strategy 10.4. Purge statistics option is generating erroneous SQL referring to PROJECTID column. There is no such column in IS_SESSION_STATS table:

KB439363