Llevándolo a http://dev.mysql.com/doc/refman/5.6/en/create-procedure.html.