SAP Knowledge Base Article - Preview

2738577 - Error 16306 when using IDENTITY with UNION - SAP ASE

Symptom

ASE raises Error 16306 when query combines IDENTITY() function with UNION.

Msg 16306, Level 15, State 1:
Server 'ASE', Line 1:
You cannot use an identity function in a SELECT INTO statement with the UNION operation.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.0.2 ESD #5 and higher
  • SAP Adaptive Server Enterprise Cluster Edition (ASE CE) 15.0.2 ESD #5 and higher

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 15.7 Cluster Edition ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise 16.0 Cluster Edition ; 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, ASEServer, SAPASE, dataserver, UNION, SELECT, IDENTITY, trace, flag, traceflag, 119, CR488239, CR#488239, 488239 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , 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.