SAP Knowledge Base Article - Preview

1918197 - SYBASE IQ Error : Derived table 'A' has no name for column 1 SQLCODE=-163, ODBC 3 State="42000", when creating a view.

Symptom

When creating a view, an error happens if the view has a derived table and a "select * ..." construct exists inside the derived table as below.
In case of IQ V16, this restriction has been depricated, but this error still can be happened when an alias for an expression in select list of the derived table is missed.

  Could not execute statement.
  Derived table 'A' has no name for column 1
  SQLCODE=-163, ODBC 3 State="42000"


Read more...

Environment

SAP SYBASE IQ 12.7, IQ 15.2, IQ 15.4 & IQ 16

Product

SAP IQ all versions

Keywords

create view, column alias, derived table , 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.