Hi @RAVI
Here is my test table:
Query String:
CREATE proc FieldExample @ID1 nvarchar(MAX),@ID2 nvarchar(MAX),@ID3 nvarchar(MAX)
AS
BEGIN
SELECT*FROM dbo.Test2 WHERE ID in(@ID1,@ID2,@ID3)
END
Execute the statement:
exec FieldExample 'A1','A2','A6'
OutPut:
Best regards,
Qi You
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.