declare @ID as nvarchar(50)='' SET @ID='1,2,3' Select * from Orders_tbl where OrderId in (@ID)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)