The title says it all. I can't seem to google the syntax for editing an already-created stored procedure in MySQL.
I'd be happy with a link.
The title says it all. I can't seem to google the syntax for editing an already-created stored procedure in MySQL.
I'd be happy with a link.
You can change certain attributes using the ALTER PROCEDURE syntax
To change the procedure body you will have to drop and recreate the entire procedure, in this case SHOW CREATE PROCEDURE may be useful
In addition to what Neil Aitken said and provided you work on windows, you can download Toad for MySQL by Quest Software, a free and very usefull IDE for MySQL.
Toad has tools (=GUIs to SP, Tables, Views and more) that enable you to edit stored procedures in an editor and will even show you the syntax used execute many commands!