MySQL Forums
Forum List  »  Stored Procedures

Re: Syntax Error on Sproc
Posted by: Peter Brawley
Date: March 13, 2013 12:15PM

Time stub:

...
SET @query3=...
SELECT "Before query3", Now();
EXECUTE @query3;
SELECT "After query3", Now();
...

Display query:

...
SET @query3=...
SELECT @query3;
...

Copy and paste that query into a text editor, add EXPLAIN EXTENDED to the front of it, and run that command in the mysql client.

Options: ReplyQuote


Subject
Views
Written By
Posted
2663
March 13, 2013 08:12AM
1062
March 13, 2013 09:59AM
1121
March 13, 2013 10:04AM
1087
March 13, 2013 10:24AM
1124
March 13, 2013 10:50AM
Re: Syntax Error on Sproc
1045
March 13, 2013 12:15PM


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.