冒牌阎王的博客Is there a way in a MySQL script to declare an array (or any collection) and loop over it to do stuff?For example,SET @myArrayOfValue=[2,5,2,23,6]for each @value in @myArrayOfValueINSERT INTO EXEMPLE ...
吕其坤的博客I didn't expect to find this so difficult, but I'm trying to set a user variable in MySQL to contain an array of values. I have no clue how to do this so tried doing some research and was quite supris...