SAP Knowledge Base Article - Preview

2751052 - Square Brackets as identifier with different behavior on IQ 16

Symptom

  • The following query return an error on IQ 16.:

======

select a "[a]" from tbx

Could not execute statement.
Syntax error near '[a]' on line 1
SQLCODE=-131, ODBC 3 State="42000"
Line 1

======

  • It works fine on IQ 15.4:

======

select a "[a]" from tbx;
[a]
'xxxx'

======


Read more...

Environment

  • SAP IQ 16.0
  • SAP IQ 16.1
  • SAP IQ 15.4 

Product

SAP IQ 16.0 ; SAP IQ 16.1 ; SAP Sybase IQ 15.4

Keywords

Square bracket identifier Could not execute statement Syntax error near SQLCODE -131 , KBA , 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.