Skip to main content
Version: Next

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