Hi there,
i'm using HTTP to get XML from SQLserver 2000. I need to query the database with parameters. most of them are arrays.
i am however unable to get any data from my database using
WHERE name IN (@.param )
i then tried
exec (' ...
WHERE name IN (' + @.param + ')
')
and still nothing.
Does anybody know what i'm doing wrong?
Thank alot
Wim Horemans :confused:
p.s. in @.param there should be something like "jef, jan, gert, dunno"Your local variable should look like "'jef', 'jan', 'gert', 'dunno'"
and your where caluse should evaluate to
exec (' ...
WHERE name IN ('jef', 'jan', 'gert', 'dunno')
')
No comments:
Post a Comment