Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlNewConnection

Allocates a new FairCom DB SQL connection handle.

Declaration

pCTSQLCONN ctsqlNewConnection(void)

Description

ctsqlNewConnection() allocates a new FairCom DB SQL connection handle. A connection handle must be allocated before any other FairCom DB SQL interface calls are performed. When the FairCom DB SQL connection is no longer needed, the allocated resources must be released with a call to ctsqlFreeConnection().

Return

ctsqlNewConnection() returns a new connection handle on success, or NULL on failure.

See Also

ctsqlFreeConnection()

TOCIndex