SAP Knowledge Base Article - Preview

2149164 - Query optimizer is not picking up a function-based index when 'statement cache' and "enable literal autoparam"are turned 'ON' - ASE

Symptom

  • 'statement cache' and the sp_configure parameter "enable literal autoparam" are turned 'ON'
  • The table being queried has a function-based index
  • Query optimizer is not picking up a function-based index
  • Query optimizer chooses a table scan
  • The resulting rows are not in the order expected


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

wrong order, select , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

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.