"in" statement
Posted: 14.02.2014, 10:02
what is the best way to work with "in" statement, and zeos query?
example:
...
query.sql.add('where fieldname in (:field) ');
query.parambyname('field').AsIDontKnow := MaybeArray;
I currently have to concatenate the string, to do this...
is there a more elegant way than simply having to concatenate strings?
and excuse me if I say any bullshit...
example:
...
query.sql.add('where fieldname in (:field) ');
query.parambyname('field').AsIDontKnow := MaybeArray;
I currently have to concatenate the string, to do this...
is there a more elegant way than simply having to concatenate strings?
and excuse me if I say any bullshit...