I am passing a list of string from c# code concatenated to a varchar variable in MySQL, separated by ","
.
I want to split the varchar and use it in my WHERE
clause like the sample code below:
SELECT * FROM table_name WHERE column_name IN split(varchar_variable, ",")
Do mysql have function as the split
function that returns an array?
Or if you have some suggestions on how to do it right, thank you in advance.