DISCONNECT

DISCONNECT

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

DISCONNECT

Releases a connection to Zim Integrated Server on to an SQL database.

Syntax

DISCONNECT FROM [ “ZIMSERV” | “JDBCSAM” | alias name ]

Parameters

The alias name is one of the defined ones in the zimalias.zim configuration file.

Comments

The DISCONNECT command should only be issued after a CONNECT command has been successfully executed in order to disconnect a previous connected session. The name of the server to be used in DISCONNECT must be the same used in CONNECT.

Example

> connect to ”JDBCSAM” using (“Sales”, “MySQL”, “TheUser”, “ThePassword”,”5455″, “123.123.123.123”)

> disconnect from ”JDBCSAM”

> connect to ”ZIMSERV” using (“Inventory”, “”, “JOE”, “PASSWORD”, “Joes_Server”, “LinuxAirport”)

> disconnect from ”ZIMSERV”

 

See Also

COMPILE

CONNECT

SET COMPILEMODE

SET EXECUTEMODE

SET SQLCOMPILE

SET SQLTRACE

UNCOMPILE

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish