Hi,
I'm trying to query external data from an access database and trying to parameterize the IN() part of the where statement and I can't seem to get the syntax right.
I am not sure if it is a part of the syntax of the sql or the syntax of my inputs. My sql reads:
I've tried inputs like the following
Any thoughts? I can't seem to get this guy working
I'm trying to query external data from an access database and trying to parameterize the IN() part of the where statement and I can't seem to get the syntax right.
I am not sure if it is a part of the syntax of the sql or the syntax of my inputs. My sql reads:
Code:
SELECT column_name
FROM table_name
WHERE column_name IN (?)
I've tried inputs like the following
Code:
input1,input2
'input1','input2'
('input1','input2')
input1 <-- the only one that works
Any thoughts? I can't seem to get this guy working