-1006: Too many variables

Explanation:

A maximum of 2000 parameters may be specified per SQL statement (see Restrictions for SQL Statements).

User Action:

Reduce the number of parameters specified in the SQL statement. Some parameters must be replaced with constant values. If this is not possible, split the SQL statement into several SQL statements.