am passing in a string of numbers and would like to convert this string into a list of numbers e.g.
SELECT personID from person WHERE personID IN ('927,6944')
How do I convert ('927,6944') to (927,6944)
This is the error message I get when I try and run the query:
Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '927,6944' to data type int.