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.

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

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

-6<br />

-7<br />

-8<br />

-9<br />

-10<br />

-11<br />

-12<br />

-13<br />

-14<br />

-15<br />

-16<br />

-17<br />

-18<br />

-19<br />

-20<br />

-22<br />

-23<br />

-24<br />

-25<br />

-26<br />

-27<br />

-28<br />

-29<br />

Description<br />

ORDER must specify column number, not names, when after<br />

UNION<br />

ORDER column is not in the SELECT list<br />

Invalid DATEPART code for DATEPART(), DATENAME(),<br />

DATEADD(), or DATEDIFF()<br />

Incompatible SELECT lists used in UNION<br />

The SELECT list of the subquery must have exactly one item<br />

A scalar expression expected, not a condition<br />

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

constant, aggregate, $$, :, (, +, -, %ALPHAUP, %EXACT, %MVR,<br />

%SQLSTRING, %SQLUPPER, %STRING, or %UPPER<br />

An expression other than a subquery expected here<br />

A comparison operator is required here<br />

A condition expected after NOT<br />

A qualifier SOME or ALL expected after the FOR in the<br />

for-expression<br />

A for-condition expected after the ( in the for-expression<br />

IS (or IS NOT) NULL predicate can be applied only to a field<br />

An aggregate function cannot be used in a WHERE clause<br />

Name conflict in the FROM list over label<br />

ORDER must specify column names, not numbers, when after<br />

'SELECT *'<br />

Label is not listed among the applicable tables<br />

"Ambiguous sort column:"<br />

Input encountered after end of query<br />

Missing FROM clause<br />

Field is ambiguous among the applicable tables<br />

Host variable name must begin with either % or a letter<br />

Field not found in the applicable tables<br />

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

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

Saved successfully!

Ooh no, something went wrong!