Page 1 of 1

Library used incorrectly - comment in query

Posted: Wed 30 Dec 2015 15:39
by m227
Dear Sirs,

I have TLiteQuery with some SQL commands. When I add a SQL comment like

Code: Select all

/* some comment */
and I execute query i get error:
Library used incorrectly
Is it a bug or it is default behaviour?

Re: Library used incorrectly - comment in query

Posted: Tue 05 Jan 2016 11:09
by m227
I resolved it myself, the error "Library used incorrectly" is quite clear. To run some queries I need to use TLiteScript - not TLiteQuery, and there I could put remarks with no problem.
Michal

Re: Library used incorrectly - comment in query

Posted: Wed 06 Jan 2016 14:09
by MaximG
We are happy that the issue has been resolved. If you can not execute multiple SQL-statements containing style comments / * ... * /, send us the text of the script to maximg * devart * com