Iam trying to refresh the materialized view by using:
DBMS_MVIEW.REFRESH(\'v_materialized_foo_tbl\')
But it\'s throwing invalid sql stateme
try this:
DBMS_SNAPSHOT.REFRESH( 'v_materialized_foo_tbl','f');
first parameter is name of mat_view and second defines type of refresh. f denotes fast refresh. but keep this thing in mind it will override any any other refresh timing options.
mat_view
refresh