|
FETCH STATEMENT CLAUSES ARE INCOMPATIBLE WITH THE CURSOR DEFINITION
USING cursor-name
Conclusão: DB2 could not process a FETCH statement for cursor
cursor-name because it contained a disallowed keyword. You may only
specify the keyword NEXT for non-scrollable cursors. The keywords PRIOR,
FIRST, LAST, ABSOLUTE, RELATIVE, CURRENT, BEFORE, and AFTER are disallowed
for a cursor that was not declared with the SCROLL attribute.
cursor-name Name of the cursor used for the FETCH statement.
Ação do sistema: The statement cannot be processed.
Respoat ao Desenvolvedor: Correct the FETCH statement to excluse the
disallowed keyword, or corect the DECLARE CURSOR statement to include the
appropriate SCROLL option.
SQLSTATE: 42872
© Copyright IBM Corp.
|