CDBException::m_nRetCode

Remarks

Contains an ODBC error code of type RETCODE returned by an ODBC application programming interface (API) function. This type includes SQL-prefixed codes defined by ODBC and AFX_SQL-prefixed codes defined by the database classes. For a CDBException, this member will contain one of the following values:

The SQL-prefixed codes are defined by ODBC. The AFX-prefixed codes are defined in AFXDB.H, found in MFC\INCLUDE.

CDBException OverviewClass MembersHierarchy Chart

See Also   CDatabase, CLongBinary, CRecordset