23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview<br />

OpenEdge <strong>SQL</strong> Error Messages<br />

This section provides information on error messages generated by the various components of<br />

OpenEdge® <strong>SQL</strong>. Error message information includes:<br />

• Error code<br />

• <strong>SQL</strong>STATE value<br />

• Class condition<br />

• Subclass message<br />

In addition to the OpenEdge-specific error codes, error conditions have an associated <strong>SQL</strong>STATE<br />

value. <strong>SQL</strong>STATE is a five-character status parameter whose value indicates the condition status<br />

returned by the most recent <strong>SQL</strong> statement. The first two characters of the <strong>SQL</strong>STATE value<br />

specify the class code and the last three characters specify the subclass code:<br />

• Class codes of a–h and 0–4 are reserved by the <strong>SQL</strong> standard. For those class codes only,<br />

subclass codes of a–h and 0–4 are also reserved by the standard.<br />

• Subclasses S and T and class IM are reserved by the ODBC standard.<br />

• Class codes of i–z and 5–9 are specific to database implementations such as OpenEdge<br />

<strong>SQL</strong>. All subclass codes in those classes are implementation defined except as noted for<br />

ODBC.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!