ERROR | Both CURSOR and STATEMENT have AT clauses at line number of file string. |
CAUSE | Two AT clauses, one in a DECLARE STATEMENT statement, the other in a DECLARE CURSOR statement, pertain to the same SQL statement. The AT clause may be specified with either DECLARE STATEMENT or DECLARE CURSOR, but not with both. |
ACTION | Remove the AT clause from one of the statements. |