-1104: Too complicated SQL statement (KB-stack overflow)
Explanation:
Within the system, more elements of an internal structure are needed to represent the SQL statement than are available.
User Action:
Simplify the SQL statement or split it into several SQL statements. If this is not possible, check whether the installation parameter PACKET_SIZE can be increased, because the size of the internal structure depends on the size of that parameter. The structure size will be adapted from a certain limit value of PACKET_SIZE.