Cannot update column '%1' since it appears in the ORDER BY clause

Error constant SQLE_CANNOT_UPDATE_ORDER_BY_COLUMN
ODBC 2 State 42000
ODBC 3 State 42000
Parameter 1 Name of the column that appears in the ORDER BY clause.
Severity 15
SQLCODE –814
SQLSTATE 42W37
Sybase error code 6267
Probable cause

You attempted to update a column that appears in the ORDER BY clause. The ansi_update_constraints option controls whether this update is allowed.