I have an issue related to array in mysql procedure? I want to use array as datatype in mysql procedure . I have to store some data into array and later on use that as per requirement. But I really don’t know how to use or define or declare array in mysql. I read some where that mysql doesn’t support arrays.
Is there any alternative in mysql to array which is not array but works as an array?
Use a temporary table (perhaps a memory temp table) to store your array values. Then you can use that table in JOINs, etc.
Example: