Previous Topic: -105 - aaa IN bbNext Topic: -110 - ORDER BY IS NOT ALLOWED IN A VIEW DEFINITION


-109 - VIEW COLUMN CONTAINING EXPRESSION OR FUNCTION USED ILLEGALLY

Reason:

A column of a view was referenced in a statement, and during the process of resolving this reference (to the query that defines the view) it was found that the view column consists of either an expression or a column function. It was also found that the use of the function or expression was inconsistent with the query that was being run. Some examples of this are:

The SQLSTATE that equates to this SQL return code is 0AS01.

Action:

Alter the query to reference the view column legally, or create a new view that satisfies the requirements of the query without violating any rules.