-
Bug Report
-
Resolution: Cannot Reproduce
-
L3 - Default
-
None
-
None
The ordering of a query (e.g. tasks by name) isn't working on DB2 zOS 10. For example the query:
SELECT SUB.* FROM ( select distinct RES.* , row_number() over (ORDER BY RES.NAME_ asc) rnk FROM ( select distinct RES.* from TRK_ACT_RU_TASK RES WHERE RES.NAME_ like ? )RES ) SUB WHERE SUB.rnk >= ? AND SUB.rnk < ?
is missing an additional outer ORDER BY SUB.rnk statement.