The following lines contain the word 'select', 'insert', 'update' or 'delete':
elsif (p_option_code='UPDATETYPE') then
p_option_value:=fnd_profile.value('EDW_UPDATE_TYPE');
elsif (p_option_code='SMARTUPDATE') then
p_option_value:=fnd_profile.value('EDW_SMART_UPDATE');
select param.value into p_option_value from v$parameter param
where param.name='hash_area_size';
select param.value into p_option_value from v$parameter param
where param.name='sort_area_size';
select default_tablespace into p_option_value from dba_users where
username=EDW_OWB_COLLECTION_UTIL.get_db_user('BIS');
function get_level_skip_update(p_object_id number,p_option_fk_key number,
p_option_cols out nocopy EDW_OWB_COLLECTION_UTIL.varcharTableType,p_number_option_cols out nocopy number)
return boolean is
l_stmt varchar2(5000);
edw_owb_collection_util.write_to_log_file_n('Error in get_level_skip_update '||sqlerrm);
function get_level_skip_delete(p_object_id number,p_option_fk_key number,
p_option_cols out nocopy EDW_OWB_COLLECTION_UTIL.varcharTableType,p_number_option_cols out nocopy number)
return boolean is
l_stmt varchar2(5000);
edw_owb_collection_util.write_to_log_file_n('Error in get_level_skip_delete '||sqlerrm);
l_stmt := 'select ''DIMENSION'' from cmpwbdimension_v'
|| ' where elementid=:d '
|| ' union '
|| ' select ''FACT'' from cmpwbcube_v'
|| ' where elementid=:f ';