Map HCL OneDB error messages to SQLSTATE values

The rest of this section describes diagnostic SQLSTATE values for HCL OneDB™ ODBC Driver functions.

The return code for each SQLSTATE value is SQL_ERROR unless a description indicates otherwise. When a function returns SQL_SUCCESS_WITH_INFO or SQL_ERROR, you can call SQLError to get the SQLSTATE value.