The following lines contain the word 'select', 'insert', 'update' or 'delete':
select ORACLE_USERNAME
into
oracle_schema
from fnd_oracle_userid where read_only_flag='U';
c_statement:='select install_group_num from '||
p_apps_schema||'.fnd_oracle_userid '||
'where oracle_username = upper(:oracle_schema) '||
'and install_group_num is not null';
c_statement:='select install_group_num from '||
davcsap_apps_schema||'.fnd_oracle_userid '||
'where read_only_flag = ''U'' '||
'order by install_group_num';
c_statement:='select distinct install_group_num from '||
dctcs_apps_schema||'.fnd_oracle_userid '||
'where read_only_flag = ''U'' '||
'order by install_group_num';
c_statement:='select distinct install_group_num from '||
dcv_apps_schema||'.fnd_oracle_userid '||
'where read_only_flag = ''U'' '||
'order by install_group_num';
insert_newlines in varchar2,
comp_error out nocopy varchar2)
is
success_with_comp_error exception;
c_statement := 'select oracle_username from '||upper(apps_schema)||
'.fnd_oracle_userid where oracle_username = USER';
select ORACLE_USERNAME
into
oracle_schema
from
fnd_oracle_userid where
read_only_flag='U';
c_statement := 'select oracle_username from '||
apps_schema||'.fnd_oracle_userid '||
'where install_group_num = 1 and read_only_flag = ''U''';
c_statement:='select install_group_num from '||
apps_schema||'.fnd_oracle_userid '||
'where oracle_username = upper(:oracle_schema) '||
'and install_group_num is not null';
c_statement := 'select oracle_username from '||
apps_schema||'.fnd_oracle_userid '||
'where install_group_num = '||install_group_num||
' and read_only_flag = ''U''';
insert_newlines);
insert_newlines);
insert_newlines);
insert_newlines);
insert_newlines);
insert_newlines);
insert_newlines);
c_statement := 'select status from dba_objects '||
'where owner='''||upper(first_apps_schema)||
''' and object_name='''||upper_obj_name||
''' and object_type='''||upper(object_type)||'''';
c_statement := 'select count(*) from dba_objects '||
'where owner= '''||upper(current_apps_schema)||
''' and object_name='''||upper_obj_name||
''' and object_type='''||upper(object_type)||
''' and status=''INVALID''';
c_statement := 'select count(*) from dba_objects '||
'where object_name='''||upper_obj_name||
''' and object_type='''||upper(object_type)||
''' and owner in (select oracle_username '||
'from '||upper(first_apps_schema)||'.fnd_oracle_userid '||
'where read_only_flag in (''U'',''K'')) '||
'and status=''INVALID''';
lb||', '||ub||', '||insert_newlines||'): '||
ad_ddl.error_buf||': '||ad_apps_private.error_buf||
': substr($statement$,1,255)='''||
substr(gbl_statement,1,255)||'''';
select ORACLE_USERNAME
into
oracle_schema
from
fnd_oracle_userid where
read_only_flag='U';
c_statement:='select install_group_num from '||
p_apps_schema||'.fnd_oracle_userid '||
'where oracle_username = upper(:oracle_schema) '||
'and install_group_num is not null';
c_statement:='select distinct install_group_num from '||
dcv_apps_schema||'.fnd_oracle_userid '||
'where read_only_flag = ''U'' '||
'order by install_group_num';