I have a firebird database and a query from excel. In the begining I have
WHERE (table.myID IN (1,2,3))
that works to pass the parameter in SQL to firebird. My table.myID is with integers. Then I tried to pass parameters from excel with
WHERE (table.myID IN (?))
where I point ?
to one cell. If in the cell there is only one number that works. But if I ?=1, 2, 3
from one cell the query doesn't work. I tried to quote the context, format the cell but no success.
Other posts like this or this or this solve this puzzel with INSTR and VBA in examples with a list of text. I am new in firebird and doesn't know the similar INSTR command or another way to pass this list of integers.
So how can I pass a list of integers from one cell?