IBM Support

TRUNCATE TABLE in IBM Informix Dynamic Server 10 returns error 201 Syntax error has occurred

Troubleshooting


Problem

There are times where an error 201 is returned when issuing the TRUNCATE TABLE command in IDS V10.00. This document gives a possible solution to the problem.

Symptom


When issuing the following statement

TRUNCATE TABLE tabname

 tabname 
is the name of a table

The following error is returned

201 : A syntax error has occurred

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF008","label":"DYNIX\/ptx"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF026","label":"Reliant UNIX"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.0","Edition":"Workgroup;Enterprise","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21229757