-2003: Output columns too long 

Explanation:

The following reasons are possible:

  1. The total length of the output columns exceeds 4048.
  2. The total length of the output columns, together with the columns specified in the <ORDER clause> or <GROUP clause>, exceeds 4048.
  3. The total length of the output columns, together with the correlated columns and columns of <PREDICATE>s which contain a <SUBQUERY>, exceeds 4048 in an SQL statement with correlated subqueries.

User Action:

  1. The number of output columns must be reduced.
  2. The attempt should be made to do without sorting or grouping, or to perform the sorting or grouping across shorter or fewer columns.
  3. The attempt should be made to manage with fewer output columns or correlated columns or to achieve the desired effect using several SQL statements.