SQL LOGOUT
SQL LOGOUT
Does not require any parameters |
---|
This command is not thread-safe, it cannot be used in preemptive code.
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.