SAP Knowledge Base Article - Preview

2687392 - Error 156 when trying to use EXCEPT / MINUS set operator - ASE

Symptom

  • Trying to write a query using the EXCEPT or MINUS set operators
  • Query fails with error 156 "Incorrect syntax near the keyword 'EXCEPT'" or "Incorrect syntax near the keyword 'MINUS'" 

 


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE)  all versions prior to 16.0 SP03
  • SAP Adaptive Server Enterprise Cluster Edition (ASE CE) all versions

Product

SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 15.7 Cluster Edition ; Sybase Adaptive Server Enterprise 12.5 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5 ; Sybase Adaptive Server Enterprise Cluster Edition 15.0 ; Sybase Adaptive Server Enterprise Cluster Edition 15.5 ; Sybase Adaptive Server Enterprise Cluster Edition 15.7

Keywords

Sybase, dataserver, set operator, intersect, minus , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , 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.