File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,11 +21,13 @@ time "$SQLCLI" sys/$ORACLE_PWD@//$CONNECTION_STR AS SYSDBA <<-SQL
2121 select sum(cnt)
2222 into v_leftover_objects_count
2323 from (
24- select count(1) cnt from dba_objects where owner = '$UT3_DEVELOP_SCHEMA '
25- where object_name not like 'PLSQL_PROFILER%' and object_name not like 'DBMSPCC_%'
24+ select count(1) cnt from dba_objects
25+ where owner = '$UT3_DEVELOP_SCHEMA '
26+ and object_name not like 'PLSQL_PROFILER%' and object_name not like 'DBMSPCC_%'
2627 union all
27- select count(1) cnt from dba_synonyms where table_owner = '$UT3_DEVELOP_SCHEMA '
28- where table_name not like 'PLSQL_PROFILER%' and table_name not like 'DBMSPCC_%'
28+ select count(1) cnt from dba_synonyms
29+ where table_owner = '$UT3_DEVELOP_SCHEMA '
30+ and table_name not like 'PLSQL_PROFILER%' and table_name not like 'DBMSPCC_%'
2931 );
3032 if v_leftover_objects_count > 0 then
3133 raise_application_error(-20000, 'Not all objects were successfully uninstalled - leftover objects count='||v_leftover_objects_count);
You can’t perform that action at this time.
0 commit comments