Show TOC

-3007: Invalid sequence for DML and DDL statementsLocate this document in the navigation structure

Use

Explanation

Modifications were made to the database catalog in the time between a QUERY statement that does not generate a result table and the corresponding FETCH statements. These modifications concerned the underlying table of the QUERY statement.

User Response

Repeat the QUERY and FETCH statement.