Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I am trying to execute update query ("UPDATE HEADER SET CHECK='"+HeaderTotal+"',CHECKNO='"+CheckNo.trim()+"' WHERE ORDER_NO='"+OrdNum+"'")) and i am getting this message com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-131]: Syntax error near 'CHECK' %2

Am i doing something wrong? Is there any mistake in query?

asked 29 Feb '12, 16:21

TEJ's gravatar image

accept rate: 0%

CHECK is a reserved word / keyword. Use "check" or [check].

permanent link

answered 29 Feb '12, 17:25

John%20Smirnios's gravatar image

John Smirnios
accept rate: 37%


In UltraLite, "check" is good, but [check] is not recognized.

(29 Feb '12, 18:51) Tom Slee

FWIW, it's well documented here...

(01 Mar '12, 03:27) Volker Barth
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 29 Feb '12, 16:21

question was seen: 1,470 times

last updated: 01 Mar '12, 03:27