Search notes:

SQL*Plus: WHENEVER SQLERROR

WHENEVER SQLERROR EXIT

whenever sqlerror exit has the same parameters as the ordinary exit command.
Exit SQL*Plus as soon as an error is encountered (but print the error message):
whenever sqlerror exit

select q'[This statement is executed]'       txt from dual;

select 1 from "no such table";

select q'[This statement won't be executed]' txt from dual;
Github repository Oracle-patterns, path: /SQLPlus/whenever/sqlerror/exit.sql

WHENEVER SQLERROR CONTINUE

See also

SQL*Plus

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1741087237, '18.224.38.91', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL-Plus/whenever/sqlerror/index(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78