QP pick up table scan instead use index scan when view have union. If split it to two views, and use union outside of view, QP can choose index scan.
SAP ASE 16.0
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Product Enhancement
About this pageThis 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.