Parameters in query with in clause ?

Posted by Hugues Van Landeghem on Stack Overflow See other posts from Stack Overflow or by Hugues Van Landeghem
Published on 2009-11-17T08:56:05Z Indexed on 2010/03/16 16:31 UTC
Read the original article Hit count: 369

Filed under:
|
|

Hi all,

I want to use parameter for query like this :

SELECT * FROM MATABLE
WHERE MT_ID IN (368134, 181956)

so I think about this

SELECT * FROM MATABLE
WHERE MT_ID IN (:MYPARAM)

but it doesn't work...

Is there a way to do this ?

I actually use IBX and Firebird 2.1

I don't know how many parameters in IN clause.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about firebird