Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlDisconnect

Disconnects from FairCom DB SQL.

Declaration

CTSQLRET ctsqlDisconnect(pCTSQLCONN hConn)

Description

ctsqlDisconnect() disconnects from FairCom DB SQL. If a connection is not active, ctsqlDisconnect() simply returns CTSQLRET_OK.

  • hConn the connection handle.

Return

ctsqlDisconnect() returns CTSQLRET_OK on success.

Symbolic Constant

Explanation

SQL_ERR_BADPARAM

Bad parameter specification for the statement.

See Also

ctsqlConnect(), ctsqlNewConnection(), ctsqlFreeConnection()

TOCIndex