SAP Knowledge Base Article - Preview

2082303 - SQL Anywhere: using OUTPUT statement results in syntax error

Symptom

  1. An SQL Statement similar to the following is used:
    SELECT * FROM Employees;
    OUTPUT TO 'c:\\temp\\Employees.txt'
    FORMAT TEXT;
  2. When the above statement is used from DBISQL this works as expected.
  3. When used from an application other than DBISQL the statement failes with a syntax error: Syntax error near 'OUTPUT'


Read more...

Environment

SQL Anywhere

Product

SAP Sybase SQL Anywhere 12.0

Keywords

KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , 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.