How to let a SQL script abort when an error occurs ?
I pass a longer SQL script with a lot of SQL and PL-SQL commands to SQLplus.
When SQLplus detects a syntax error or an SQL invalid operation is performed (e.g.INSERT with values against UNIQUE restriction) then SQLplus starts over with the next SQL statement in script.
How can I tell SQLPlus to stop further execution when the first error occurs?