Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlAbort

Abort the current transaction.

Declaration

CTSQLRET ctsqlAbort(pCTSQLCONN hConn)

Description

ctsqlAbort() aborts the current transaction. A new transaction will automatically start.

  • hConn the connection handle.

Return

ctsqlAbort() 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(), ctsqlCommit()

TOCIndex