Contains a string describing the error that caused the exception. The string is of the form ¡°State:%s,Native:%ld,Origin:%s¡±, where the format codes, in order, are replaced by values that describe:
The SQLSTATE, a null-terminated string containing a five-character error code returned in the szSqlState parameter of the ::SQLError function. SQLSTATE values are listed in Appendix A, ¡°ODBC Error Codes,¡± in the ODBC SDK Programmer¡¯s Reference. Example: ¡°S0022¡±.