logo  
Google
 

DB2 SQL-Error: -20185

SQLState: 24518

Short Description: CURSOR IS NOT DEFINED TO ACCESS ROWSETS BUT A CLAUSE WAS SPECIFIED THAT IS VALID ONLY WITH ROWSET ACCESS

The FOR ROW n OF ROWSET clause was specified on a FETCH statement, but the cursor is not defined for rowset access. System action: The statement cannot be processed. Programmer response: Remove the FOR n ROWS clause from the FETCH statement, or redefine the cursor for multiple row access with the WITH ROWSET POSITIONING clause on DECLARE CURSOR or PREPARE.

 <-  BACK TO INDEX