Queries with a large number of UNIONs raises Error 1013 and then runs to completion:
Msg 1013, Level 16, State 1:
Server '<server_name>', Line 2:
Abstract Plan (AP): syntax error; line %, occurring near '%'. Check the AP syntax.
SAP Adaptive Server Enterprise (ASE) 15.5, 15.7, and 16.0
parser, 748049, CR748049, traceflag, 15363, -T15363 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
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.