Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlCommit

Commits the current transaction.

Declaration

CTSQLRET ctsqlCommit(pCTSQLCONN hConn)

Description

ctsqlCommit() commits the current transaction. A new transaction will automatically begin.

  • hConn the connection handle.

Return

ctsqlCommit() returns CTSQLRET_OK on success.

Symbolic Constant

Explanation

SQL_ERR_BADPARAM

Bad parameter specification for the statement.

SQL_ERR_NOACTIVECONN

Connection inactive.

See Also

ctsqlBegin(), ctsqlAbort()

TOCIndex