SAP Knowledge Base Article - Preview

2737268 - "Column 'expr_2' not found" error when using PROPERTY(), DATEADD and CONVERT together

Symptom

Any time that the PROPERTY() function is used in a DATEADD, followed by a CONVERT that uses the same column as the DATEADD, the error "Column 'expr_2' not found" occurs.

SELECT dateadd(mi,property('TimeZoneAdjustment'),test_table.test_date), convert(datetime,test_table.test_date) FROM test_table;
Could not execute statement.
Column 'expr_2' not found
SQLCODE=-143, ODBC 3 State="42S22"
Line 1, column 1


Read more...

Environment

  • SAP IQ 16.0
  • SAP IQ 16.1

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 for Me (Login required).

Search for additional results

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