Leaves Interactive SQL.
{ exit | quit | bye } [ return_code ] return_code: number | connection_variable
closes your connection with the database, then closes the Interactive SQL environment.
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.
is the number of the return code.
is a variable indicating a specific connection.
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 execute this command.
Copyright © 2005. Sybase Inc. All rights reserved. |