I want to pass multiple values using stored procedure ?
select * from Mytable where column1 in ('aa','bb','cc')
now i want to passed these column1 parameters using stored procedure
how can i do that?
I want to pass multiple values using stored procedure ?
select * from Mytable where column1 in ('aa','bb','cc')
now i want to passed these column1 parameters using stored procedure
how can i do that?
Try with this:
SELECT *
FROM Mytable
WHERE CHARINDEX(',' + CAST(Column1 AS varchar) + ',', @YourParameter) > 0