2023-08-22, 02:28 PM
So, it was the PREPARE query generating the error all along. But why?
What does this show if you run it just before the PREPARE query?
What does this show if you run it just before the PREPARE query?
SELECT @query;