Comma separated variable in MySQL
Posted
by ryan
on Stack Overflow
See other posts from Stack Overflow
or by ryan
Published on 2010-04-16T19:03:14Z
Indexed on
2010/04/16
21:23 UTC
Read the original article
Hit count: 211
mysql
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.
© Stack Overflow or respective owner