<p dir="ltr">Did you try putting quotes around the param ID in the sql query? in(":myparam")<br>
I am guessing it's the commas that are the problem.</p>
<p dir="ltr">Sqlite will accept double qoutes as will MySQL postgres will not though.<br></p>
<div class="gmail_quote">On Apr 10, 2016 7:40 AM, "leledumbo" <<a href="mailto:leledumbo_cool@yahoo.co.id">leledumbo_cool@yahoo.co.id</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> But until now i havent figured a way to pass an array of values (mostly<br>
integers) to be used with IN operators.<br>
<br>
That, unfortunately, is not possible. It's a DBMS limitation, parameterized<br>
values are actually passed as is to DBMS. So there's nothing you can do<br>
unless you can convince DBMS maintainer to implement it.<br>
<br>
> Is there a way to accomplish this?<br>
<br>
No other way than direct formatting for now.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://free-pascal-general.1045716.n5.nabble.com/Sqldb-How-to-pass-an-array-of-values-as-a-param-to-be-used-with-SQL-IN-operator-tp5724873p5724874.html">http://free-pascal-general.1045716.n5.nabble.com/Sqldb-How-to-pass-an-array-of-values-as-a-param-to-be-used-with-SQL-IN-operator-tp5724873p5724874.html</a><br>
Sent from the Free Pascal - General mailing list archive at Nabble.com.<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div>