File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 select count (* ) into l_tab_exist from
3434 (select table_name from all_tables where table_name = ' PLSQL_PROFILER_UNITS' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' )
3535 union all
36- select synonym_name from user_synonyms where synonym_name = ' PLSQL_PROFILER_UNITS' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
36+ select synonym_name from all_synonyms where synonym_name = ' PLSQL_PROFILER_UNITS' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
3737 if l_tab_exist = 0 then
3838 execute immediate q' [create table plsql_profiler_units
3939(
6464 select count (* ) into l_tab_exist from
6565 (select table_name from all_tables where table_name = ' PLSQL_PROFILER_DATA' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' )
6666 union all
67- select synonym_name from user_synonyms where synonym_name = ' PLSQL_PROFILER_DATA' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
67+ select synonym_name from all_synonyms where synonym_name = ' PLSQL_PROFILER_DATA' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
6868 if l_tab_exist = 0 then
6969 execute immediate q' [create table plsql_profiler_data
7070(
9696 select count (* ) into l_seq_exist from
9797 (select sequence_name from all_sequences where sequence_name = ' PLSQL_PROFILER_RUNNUMBER' and sequence_owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' )
9898 union all
99- select synonym_name from user_synonyms where synonym_name = ' PLSQL_PROFILER_RUNNUMBER' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
99+ select synonym_name from all_synonyms where synonym_name = ' PLSQL_PROFILER_RUNNUMBER' and owner = sys_context(' USERENV' ,' CURRENT_SCHEMA' ));
100100 if l_seq_exist = 0 then
101101 execute immediate q' [create sequence plsql_profiler_runnumber start with 1 nocache]' ;
102102 dbms_output .put_line (' Sequence PLSQL_PROFILER_RUNNUMBER created' );
You can’t perform that action at this time.
0 commit comments