2520137 - @@identity returns 0 when the insert is a select with a constant string -- SAP IQ | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2520137 - @@identity returns 0 when the insert is a select with a constant string -- SAP IQ

Symptom

When inserting into a table with an identity column, if the inserted value is given as a SELECT with a constant string, then @@identity always returns zero (0) regardless of the actual identity value inserted.


Read more...

Environment

  • SAP IQ 16.1
  • SAP IQ 16.0

Product

SAP IQ 16.0 ; SAP IQ 16.1

Keywords

KBA , BC-SYB-IQ , Sybase IQ , 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.