SQL$HELP_OLD72.HLB  —  Errors  SQL_ERRORS, ILLEXEIMM
  Illegal EXECUTE IMMEDIATE statement type

  Explanation:  You tried to issue a statement that is not allowed
  in an EXECUTE IMMEDIATE statement (SELECT, DECLARE, OPEN, FETCH,
  CLOSE, PREPARE, DESCRIBE, EXECUTE, INCLUDE, or WHENEVER).

  User Action:  Use PREPARE and a full EXECUTE statement for these
  statements.
Close Help