I have the following string that I'm passing to a stored procedure which is then used as part of the where clause.
WHERE order IN @passedOrders
The string is shown below:
1234, 12345, 123456
In order for my where statement to work I need each of these numbers to be seen as a seperate value so I need the string to read as follows:
'1234', '12345', '123456'
What would be the best way in editing the string for the extra characters to be added in using C#?