Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Execute exec statement before query (ToracleInput)

Hi Talend Community,


I would like to execute a  exec command to refresh a materialized view before executing a query on that view.

 

I get the error invalid sql statement when trying to execute the statement in Talend.(the query works in SQL developer)

 

The query looks like this in toracleinput:

"

exec dbms.mview.refresh('myMtable';

with tbl1 as (

query)

"

 

Any help would be appreciated

Labels (3)
3 Replies
manodwhb
Champion II
Champion II

@mehmedie , can you execute in tOraclrow tat query and use on Component OK to tOralcinput execute your select query.

 

Anonymous
Not applicable
Author

WIll try that. Thanks
Anonymous
Not applicable
Author

in the toraclerow i get the same invalid sql statement error