I usually work with MSSQL-Server where I can return a table-like dataset to the caller of the function. I understand that this is not possible in MySQL. What is the best way in MySQL, what are good ways to get the same result.
Should I work with temp-tables? I’m glad for all answers.
I think temp tables are your only answer. You can’t ‘use’ the return of a stored procedure and a stored function can only return one value.