SAP Knowledge Base Article - Preview

2255739 - Incorrect results when using column alias, OR, Error : SQLCODE=-1001030 -- "Alias: a same as a column..." - SAP IQ

Symptom

If you specify the same name or expression for a column alias as the column name in a query, run into one of followings:

  • You may get a confusing result.
  • Such query may encounter an error depending on DB option 'Check_Alias_Enabled' ON or OFF.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP IQ 15.4
SAP IQ 16.0

Product

SAP IQ 16.0 ; SAP Sybase IQ 15.4

Keywords

KBA , iq, alias, column, name, incorrect resul , BC-SYB-IQ , Sybase IQ , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.