Skip to content

Commit 4e82973

Browse files
authored
Fix dropped synonyms counter.
1 parent aa9d273 commit 4e82973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/uninstall_synonyms.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ begin
1515
and not exists (select 1 from all_objects o where o.owner = s.table_owner and o.object_name = s.table_name)
1616
)
1717
loop
18-
i := i + 1;
1918
begin
2019
execute immediate 'drop '||syn.syn_name;
2120
dbms_output.put_line('Dropped '||syn.syn_name||' for object '||syn.for_object);
21+
i := i + 1;
2222
exception
2323
when others then
2424
dbms_output.put_line('FAILED to drop '||syn.syn_name||' for object '||syn.for_object);

0 commit comments

Comments
 (0)