SQL Plus - (EXIT|QUIT) command

> Procedural Languages > (SQL Plus|SqlCl) (Oracle Database Console)

1 - About

Commits or rolls back all pending changes, logs out of Oracle, terminates SQL*Plus and returns control to the operating system.


3 - Syntax



  • the first block [SUCCESS|FAILURE|WARNING|n|variable|:BindVariable] define the exit code that can be:
  • the second block [COMMIT|ROLLBACK] defines the transaction termination action to do.