MySQL Forums
Forum List  »  Stored Procedures

Temporary Tables Aliasing in Stored Procedure
Posted by: conor meegan
Date: July 26, 2005 10:00AM

I have a script which works perfectly well as such. In the script I create a temporary table which I then alias in a query which updates another table.

However, when I convert this to a stored procedure, the program fails because it cannot find the temporary table. I have to replace all of the alias references with the actual temporary table name and then the stored procedure works.

Has anybody else come across this and is it a bug or not??

Options: ReplyQuote


Subject
Views
Written By
Posted
Temporary Tables Aliasing in Stored Procedure
3442
July 26, 2005 10:00AM


Sorry, you can't reply to this topic. It has been closed.

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.