Error 150

Message text

Aggregate functions not allowed on this statement

Item

Value

SQLCode

-150

Constant

SQLE_AGGREGATES_NOT_ALLOWED

SQLState

42W06

ODBC State

42000

Probable cause

An UPDATE statement has used an aggregate function (MIN, MAX, SUM, AVG, COUNT, STDDEV, or VARIANCE).