This chapter describes how to handle error messages. Topics included are: Source of an OLE DB Error Structure of an OLE DB Error Retrieving the Error SQLState Native Error Codes Teradata Database Error Format Teradata Database Messages Error Format Visual C++ Example Visual Basic with ADO