My array contains multiple integers. Array is @group_id. Suppose, it contains three elements such as 12,45,87. I want to pass these to a select statement as below.
select * from groups where id in (@group_id) // should get all the ids inside it.
Currently I am not getting the values in the query.