2000285 - Error 325 "Adaptive Server finds no legal query plan for this statement..." for a SELECT DISTINCT statement returning more than 32 columns - ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2000285 - Error 325 "Adaptive Server finds no legal query plan for this statement..." for a SELECT DISTINCT statement returning more than 32 columns - ASE

Symptom

  • A select query fails with error 325

Server Message: Number 325, Severity 18
Adaptive Server finds no legal query plan for this statement. If an Abstract Plan is forcing the query plan, check its correspondence to the query. If not, please contact Sybase Technical Support.

  • The select is using the DISTINCT keyword
  • The select is returning more than 32 columns
  • The configuration option 'avoid_bmo_sorts' or 'ase_current' is active

Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 15.7

Product

SAP Adaptive Server Enterprise 15.7

Keywords

avoid_bmo_sorts,  legal, query, abstract,  ase_current , KBA , 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 ONE Support launchpad (Login required).

Search for additional results

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