Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetError

Retrieve the last error’s code.

Declaration

CTSQLRET ctsqlGetError(pCTSQLCONN hConn).

Description

ctsqlGetError() retrieves the last error’s code.

  • hConn the connection handle.

Return

ctsqlGetError() returns last error’s code, or CTSQLRET_OK if no previous error.

See Also

ctsqlGetErrorMessage

TOCIndex