SAP Knowledge Base Article - Preview

2784786 - When forcing AP, message 307 "Index specified as optimizer hint in the FROM clause ... does not exist" - SAP ASE


  • When forcing an index on a temporary table using Abstract Plan (AP) clause inside a stored procedure, ASE returns Warning message 307:
  • Note: the message number is not actually part of return to the client

Index 'index_name' specified as optimizer hint in the FROM clause of table '#table_name' does not exist.
Optimizer will choose another index instead.



SAP Adaptive Server Enterprise (ASE)


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


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.