Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Alexander Thurgood:
So the question is not whether you can use prepared statements, but
whether you can use parameterized queries in prepared statements ?

Well, yeah, actually :-)

Alexander Thurgood:
I guess I would start with whether the simple parameterized SQL
statement actually runs correctly from within the LO Query SQL editor ?

It doesn't seem to work. I tried SELECT "col1" FROM "tbl1" WHERE "col2" = :x
and just got a bunch of errors (listed below). I did some googling already
but didn't find anything yet. I have some actual work that has to be done so
I'm going to have to return to this a little later. Thanks for the tip!

The data content could not be loaded.

SQL Status: 42000
Error code: -2147217900

Incorrect syntax near ':'.

SQL Status: 42000
Error code: -2147217900

Statement(s) could not be prepared.

View this message in context:
Sent from the Users mailing list archive at

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.