I'm using the "SQL Statement to exectute at end of translation".
I've set it to:
FME_SQL_DELIMITER ;
... Other SQL...
begin DBMS_SNAPSHOT.REFRESH( '"OSMM"."OS_ABP_V_DELIVERY_ADDR"','C'); end;
This works fine in Oracle SQL Developer (ti's to refresh a materialized view). But when I run it via FME I get Oracle errors.
2014-08-12 16:43:46| 2.3| 0.0|ERROR |Execution of statement `begin DBMS_SNAPSHOT.REFRESH( '"OSMM"."OS_ABP_V_DELIVERY_ADDR"','C')' did not succeed; error was `ORA-06550: line 1, column 67:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
:= . ( % ;'.
Removing the "End;" or the ";" or both does nothing, I just get a slightly different varient on the same error.
Is it possible to run such a statement like this?
Thanks,
Jonathan