(Originally posted 2006-02-24.)
APAR PK18018 documents a condition where the use of either the
FETCH FIRST n ROWS
or
OPTIMISE FOR n ROWS
clauses leads to a suboptimal access path. Occasionally you can get an ABEND.
This APAR is marked for DB2 Version 8 only.