Comma separated variable in MySQL
- by ryan
I want to create a stored procedure in MySQL and one of the input parameters will need to be a comma separated list of integers. How do I loop through each integer and run an update statement on it?
I've googled it but can't seem to find anything that will work for MySQL.