SAP Knowledge Base Article - Preview

2130893 - ASE fails to use a proper index unless SARG value is hard-coded - SAP ASE


  • Query that uses a literal value uses an index
  • The same query that is passed a local variable does a table scan
  • Indexes exist on the search argument (SARG) column
  • Statistics are up to date



SAP Adaptive Server Enterprise (ASE) All Versions


SAP Adaptive Server Enterprise all versions


deferred compilation, not using index , KBA , optimizer , query plan , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Problem

About this page

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

Search for additional results

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