MDAC 2.5 SDK - OLE DB Providers
OLE DB Provider for Microsoft Jet


 

ISQLErrorInfo

ISQLErrorInfo is used to return the SQLSTATE and native error code.  

ISQLErrorInfo::GetSQLInfo

Returns the SQLSTATE and native error code associated with an error.