SAP Knowledge Base Article - Preview

3542757 - Wrong results when using descending order and LIMIT clause with allrows_mix - SAP ASE

Symptom

  • Running a query which performs an order by DESC using the LIMIT clause may return incorrect rows.
  • Example query:
    select ...
    from t1, t2
    where ....
    order by c1 DESC ROWS LIMIT 20 OFFSET 0


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 16.0

Keywords

KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.