Question : SQL Stored Procedure pass in a list

I would like to pass to a stored procedure a paramter that would contain:
'apple', 'banana','peach','watermelon' in a single parameter.

The string would be used in a query that
contains a:  where Fruit in('apple', 'banana','peach','watermelon')
I can pass a single string or a number but the single quotation marks inside the string appear to be a issue.  I cannot simply use & and build a query string inside the SP.

Answer : SQL Stored Procedure pass in a list

Random Solutions  
 
programming4us programming4us