return "select * from " + FME_MacroValues["SchemaOwner"] + ".TABLE_NAME".
When I run the workspace I get the message
An error occurred while accessing a table result for feature type `__fme_execute_sql_results__'; message was `Execution of statement `select' did not succeed; error was `ORA-00936: missing expression'.
However, if I copy the SQL statement from the Python script with the parameter substitution for the database schema name into the Prefetch query parameter on the Joiner, the query executes successfully.
Is there a way to create a dynamic SQL statement for a Prefetch query? I am currently using a beta copy of FME 2013.
Thanks,
Steve