Skip to main content
Version: 20 R7 BETA

SQL LOGOUT

SQL LOGOUT

Does not require any parameters

Description

The SQL LOGOUT command closes the connection with an ODBC source that is open in the current process (if applicable). If there is no ODBC connection open, the command does nothing.

System variables and sets

If the logout is performed properly, the system variable OK is set to 1; otherwise, it is set to 0. You can intercept this error with an error-handling method installed by the ON ERR CALL command.

See also

SQL LOGIN

Properties

Command number872
Thread safe
Modifies variablesOK, error