In Script Manager, it is not possible to stop script execution on error. In fact, next scripts will be executed.
We would like Script Manager to stop on error in order to correct the issue before next scripts executions.
I have a ticket for this : SR Number:3927401 (with Milton Villegas) and also a Community Discussion :
A simple test case to reproduce issue is documented in the SR (comment on Mar 16, 2017 05:37 AM (PST) Customer Web Update)
We plan to puchase Toad on november and this feature will be a Go or NoGo because it is important for us.
I'll copy the test case bellow.
Thanks for your support
1) Create 4 scripts :
create table test (a number, b varchar2(10));create table test (a number, b varchar2(10));
insert into test values (1, 'A');
insert into test (2, 'B');
insert into test values (3, 'C');
2) Open Utilities / Script Manager
Add 4 scripts in the same group
On the line of this group, you can check the checkbox in the last column "On File Menu"
Click "run selected scripts" in the toolbar
3) The output message show "1 error" for script2.sql
4) select * from test order by a;
You will see that record '2', 'B' is missing.
We expected Script Manager to stop running when it will hit an error.
Instead, Script Manager run next scripts.