Leaves Interactive SQL.
{ exit | quit | bye } [ return_code ] return_code: number | connection_variable
return_code – can be used in batch files to indicate success or failure of the commands in an Interactive SQL command file. The default return code is 0.
number – the number of the return code.
connection_varible – a variable indicating a specific connection.
exit | quit | bye closes your connection with the database, then closes the Interactive SQL environment. Before closing the database connection, Interactive SQL automatically executes a commit statement if the commit_on_exit option is set to on. If this option is set to off, Interactive SQL performs an implicit rollback. By default, the commit_on_exit option is set to on.
Any user can run this command.
On Windows operating systems, the optional return value is available as errorlevel.