MySQL Forums
Forum List  »  Stored Procedures

Re: MySQL Store Procedure can't return multiple datasets
Posted by: matthew Baynham
Date: September 14, 2020 12:59AM

Now it's getting weird.

I tried this on my live server. PhpMyAdmin still didn't run the command.

However when I used MySQL in the command line things were different.

The first time I ran this stored procedure it was OK.

I had an error the second time I ran this stored procedure, complaining that the temporary tables already exist.

So I added three lines of code at the top of the store procedure to drop the temporary tables if they exist. And it works in command line but not in phpMyAdmin.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Store Procedure can't return multiple datasets
67
September 14, 2020 12:59AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.