I was wondering if it is possible to stop executing a database script (DB2 in my case) as soon as an error occurs.
If I run an SQL script against my DB2 databse from within IntelliJ, the whole script is run, even if halfway some statements give errors. I would like the script to fail as soon as the first error occurs (which you get with the -s option when executing scripts from command line).
Does anyone know if this is currently possible? I couldn't find a way to do it.
If not, I'll file a bug for this to be implemented.