The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_stmt:='select syn.table_owner '||
' from user_synonyms syn, edw_dimensions_md_v dim, edw_levels_md_v lvl'||
' where dim.dim_name=:a and lvl.dim_id=dim.dim_id and syn.table_name=lvl.level_name||:b'; ----bug#4905343
l_stmt:='select ltc.name,lstg.name,snplog.log_table from edw_tables_md_v ltc, edw_dimensions_md_v dim, '||
'edw_levels_md_v lvl, edw_tables_md_v lstg,all_snapshot_logs snplog,edw_pvt_map_properties_md_v map, '||
'user_synonyms syn '||
'where dim.dim_name=:a '||
'and lvl.dim_id=dim.dim_id and ltc.name=lvl.level_name||:b '|| --bug#4905343
'and map.primary_target(+)=ltc.elementid and map.primary_source=lstg.elementid(+) '||
'and snplog.master=ltc.name and snplog.log_owner=:c';
l_stmt:='update '||g_lstg_tables(i)||' set collection_status=''READY'' where collection_status<>''READY'' '||
' and rownum<=100000';
l_stmt:='select 1 from edw_dimensions_md_v where dim_name=:a';
l_stmt:='select rel.name from edw_tables_md_v rel,edw_pvt_map_properties_md_v map,edw_facts_md_v tgt '||
'where tgt.fact_name=:a and map.primary_target=tgt.fact_id '||
'and rel.elementid=map.primary_source ';
g_fact_dlog:=EDW_OWB_COLLECTION_UTIL.get_log_for_table(p_fact,'Delete Log');
l_stmt:='select distinct cube_src.fact_id||''_''||cube.fact_id from edw_facts_md_v cube,edw_facts_md_v cube_src, '||
'edw_pvt_map_properties_md_v map where map.primary_target=cube.fact_id and map.primary_source=cube_src.fact_id '||
'and cube_src.fact_name=:a';
l_stmt:='select distinct cube_src.fact_id||''_''||cube.fact_id from edw_facts_md_v cube,edw_facts_md_v '||
'cube_src, edw_pvt_map_properties_md_v map where map.primary_source=cube.fact_id and '||
'map.primary_target=cube_src.fact_id '||
'and cube_src.fact_name=:a';
l_stmt:='update '||g_fstg_table||' set collection_status=''READY'' where collection_status<>''READY'' '||
' and rownum<=100000';
l_stmt:='select relation_name from edw_relations_md_v where relation_long_name=:a';