My Oracle Support Banner

How to Exit from SQL*Plus with a Rollback to Prevent Automatic Commit (Doc ID 270140.1)

Last updated on JANUARY 31, 2022

Applies to:

SQL*Plus - Version 10.2.0.1 to 11.2.0.3 [Release Oracle10g to 11.2]
Information in this document applies to any platform.
 


Goal

After executing an INSERT, UPDATE, or DELETE command, SQL*Plus automatically
saves all pending changes as soon as you enter the EXIT command. This is regardless of AUTOCOMMIT setting, when sqlplus exits a commit is accomplished.

How to exit sqlplus with a rollback?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.