Obtaining SQLSTATE codes and error messages

SQLSTATE messages can be informational, warnings, severe, or fatal. Adaptive Server and Open Client Client-Library generate the majority of SQLSTATE messages. See the appropriate documentation for a complete list of SQLSTATE codes and error messages.

See Appendix A, “Precompiler Warning and Error Messages,” for the table of SQLSTATE messages that the precompiler can generate.