Pass value into sql in statement
Posted: Thu Jun 28, 2012 2:52 pm
Hi,
I would like to pass value like '7002', '6997' into sql statement using in statement like following:
select * from users where id in (@Ids)
the @Ids value looks like '7002', '6997'
Please help!
Thanks
Alan
I would like to pass value like '7002', '6997' into sql statement using in statement like following:
select * from users where id in (@Ids)
the @Ids value looks like '7002', '6997'
Please help!
Thanks
Alan