Auto-commit is by default enabled in the command line interface (CLI) of DB2. To disable auto-commit use the UPDATE COMMAND OPTIONS command:
update command options using c off insert into some_table values (1, 'abc123'); commit
Auto-commit is by default enabled in the command line interface (CLI) of DB2. To disable auto-commit use the UPDATE COMMAND OPTIONS command:
update command options using c off insert into some_table values (1, 'abc123'); commit