Re: Temporary Tables Aliasing in Stored Procedure
Hi guys, since you have been discussing temporary table, let me insert my small problem puzzling me on MySql 5.x. Hoping that somebody also has concern to this... checking if table exists through conditional statement.
DELIMITER //
CREATE PROCEDURE MY_PROCEDURE()
...
-- A
IF TABLE MY_TEMPORARY_TABLE EXISTS THEN
-- I DO SOMETHING HERE...
END IF;
...
BEGIN
END; //
DELIMITER ;
Under that -- A comment, the conditional statement querying if MY_TEMPORARY_TABLE exists (this is only my assumption), does anybody knows the correct syntax of that? Doing query check if TABLE (temporary) does exists?
I need your help guys... I don't know if there is a syntax for this or whatever.
ps: I have already post this as subject: StoredProcedure temporary table checking.
My Gratitude,
Melvin R. Zamora
Subject
Views
Written By
Posted
3442
July 26, 2005 10:00AM
2271
July 26, 2005 12:14PM
2187
July 27, 2005 01:38AM
2248
July 27, 2005 02:04AM
2171
July 27, 2005 05:06AM
2218
July 27, 2005 05:15AM
Re: Temporary Tables Aliasing in Stored Procedure
2916
October 25, 2005 10:58PM
2159
July 27, 2005 05:40AM
2162
July 27, 2005 06:35AM
2073
July 27, 2005 07:53AM
2073
July 27, 2005 07:58AM
2212
August 08, 2005 08:53PM
3008
August 09, 2005 07:04PM
2208
August 09, 2005 04:19AM
2139
August 10, 2005 06:07AM
2260
September 29, 2005 03:30AM
2348
September 30, 2005 03:09AM
2283
October 07, 2005 04:10AM
2239
October 07, 2005 04:29AM
3451
October 26, 2005 01:29AM
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.