SAP Knowledge Base Article - Preview

2563044 - Error 325 raised by UNION ALL that includes an ORDER BY


Error 325 is raised  when a 'select' contains a 'UNION ALL' and 'ORDER BY'

Msg 325, Level 18, State 1:
Line 1:
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 SAP Technical Support.



  • Adaptive Server Enterprise (ASE) 15.7 SP139
  • Adaptive Server Enterprise (ASE) 16 SP03


SAP Adaptive Server Enterprise 15.7


Order by Union All Select legal , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.