|
|
|
|
|
SQLChangeConnection (Function) In french: SQLChangeConnexion Modifies the current connection. The current connection corresponds to the last opened connection or the connection specified with SQLChangeConnection. Important HFSQL databases do not allow multiple connections to be opened simultaneously. Nesting connections is only available for databases using an access via ODBC, OLE DB, or Native Connectors. The Native AS/400 Connector enables the maximum number of connections allowed by the license.
Conn1 is int = SQLConnect("ORACLE", "", "")
Conn2 is int = SQLConnect("SQLSERVER", "", "")
...
SQLChangeConnection(Conn1)
...
SQLChangeConnection(Conn2)
...
SQLDisconnect()
SQLDisconnect()
Syntax
<Result> = SQLChangeConnection(<Connection number>)
<Result>: Boolean - True if the change of connection was performed,
- False otherwise.
<Connection number>: Integer Number of the connection to use, returned by SQLConnect.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|