ctsqlAbort
Abort the current transaction.
Declaration
CTSQLRET ctsqlAbort(pCTSQLCONN hConn)
Description
ctsqlAbort() aborts the current transaction. A new transaction will automatically start.
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()