Best unofficial Apache Server developers community |
I'm not sure what's wrong with it. MySQL tells me all sorts of things are incorrect, it just doesn't want to be created. Also, the parameters are identical types and lengths to their respective tables.
posted via StackOverflow
|
|
 
|
Take out the This is in the screenshot but you've just added it in an edit. I've checked the 5.x docs and it isn't mentioned at all for CREATE PROCEDURE |
|
 
|
There are a few problems. I hope I got them all:
|
|
 
|
It is your first ";" that breaks procedure definition and mysql thinks you are done and treats whatever goes after ";" as another query. You have to use delimiter for stored procedures.
|