Symptom
- A 251 message, "Unable to allocate ancillary table for query optimization. Maximum number of tables in a query (91) exceeded" may be be reported when more than 91 worktables are required internally by to execute a query.
- For Business Suite, you may see sql error 251 reported in dev_w* file:
C (251) [ZZZZZ] [SAP][ASE ODBC Driver][Adaptive Server Enterprise]Unable to allocate ancillary t
C able for query optimization. Maximum number of tables in a query (91) exceeded.
Read more...
Environment
- SAP Adaptive Server Enterprise (ASE) 15.7
- SAP Adaptive Server Enterprise (ASE) 16.0
- SAP Adaptive Server Enterprise (ASE) 15.7 for Business Suite
- SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
Keywords
Msg 251, 251, worktables, ancillary, 91 , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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.
SAP Knowledge Base Article - Preview