This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
SQL
SQL LOGOUT

SQL LOGOUT 


 

SQL LOGOUT  
Does not require any parameters

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.

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 

Product: 4D
Theme: SQL
Number: 872

The OK variable is changed by the commandThis command modifies the Error system variable

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D 2004

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)