Product Documentation

FairCom Direct SQL for C and C++

Previous Topic

Next Topic

ctsqlGetErrorMessage

Retrieve the last error’s message text.

Declaration

CTSQLCHAR* ctsqlGetErrorMessage(pCTSQLCONN hConn)

Description

ctsqlGetErrorMessage() retrieves the last error’s message text.

  • hConn the connection handle.

Return

ctsqlGetErrorMessage() returns a pointer to the last error’s message text, or NULL if the connection is not active.

See Also

ctsqlGetError()

TOCIndex