28.01.2015 Views

Caché Error Reference - InterSystems Documentation

Caché Error Reference - InterSystems Documentation

Caché Error Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

2<br />

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

This document contains SQL error messages.<br />

For some error codes, there are two possible error messages. When possible (usually at SQL compile<br />

time), error messages include explicit references to tables, views, or other entities. For those codes<br />

with two messages, the distinct messages are separated below by “OR” .<br />

Note:<br />

While this document lists error codes as negative values, JDBC and ODBC clients always<br />

receive positive values. For example, if an ODBC or JDBC application returns error code<br />

30, look up error code -30 in this table.<br />

SQL <strong>Error</strong> Codes<br />

<strong>Error</strong> Code<br />

100<br />

0<br />

-1<br />

-2<br />

-3<br />

-4<br />

-5<br />

Description<br />

No (more) data<br />

Successful Completion<br />

Invalid SQL statement<br />

Exponent digits missing after 'E'<br />

Closing quote (") missing<br />

A term expected, beginning with one of the following: identifier,<br />

constant, aggregate, %ALPHAUP, %EXACT, %MVR,<br />

%SQLSTRING, %SQLUPPER, %STRING, %UPPER, $$, :, +, -,<br />

(, NOT, EXISTS, or FOR<br />

Column number specified in ORDER does not match SELECT<br />

list<br />

<strong>Caché</strong> <strong>Error</strong> <strong>Reference</strong> 77

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

Saved successfully!

Ooh no, something went wrong!