ANR2959E
SQL temporary table row is too wide.

Explanation

A row could not be inserted into an SQL temporary table because the row is too wide. This can occur if 1) there are too many columns in the row being inserted, or 2) the sum of the lengths of the columns in the row is too wide. Temporary tables are used when 1) the ORDER BY clause is specified; 2) the GROUP BY clause is specified; or 3) the DISTINCT operator is specified.

System action

The SQL query is terminated.

User response

Reduce the number of columns specified in the ORDER BY and/or GROUP BY clauses.