SAP Knowledge Base Article - Preview

3150110 - CREATE TABLE...AS SELECT statement receives SQLCODE=-131 syntax error

Symptom

In SAP IQ 16.1 SP04 PL06 or higher, CREATE TABLE...AS SELECT statement receives SQLCODE=-131 syntax error:

create table GROUPO.Departments2 as (select * from GROUPO.Departments)
Could not execute statement.
  Syntax error near 'AS' on line 1
  SQLCODE=-131, ODBC 3 State="42000"

Line 1
  create table GROUPO.Departments2 as (select * from GROUPO.Departments)

Press ENTER to continue...


Read more...

Environment

SAP IQ 16.1 SP04 PL06 or higher

Product

SAP IQ 16.1

Keywords

131, -131, sytax, create, as, select , 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.