The alter procedure statement may be used to change the name of a stored procedure or change its other characteristics such as comments or security associated with it.
There –- now you know how to create a stored procedure -- you are only limited by your imagination and the MySQL documentation. However, stored procedures in MySQL are still young and in the alpha stage. So, don’t be surprised if you come across bugs; after all, this is only a sneak preview. If you do encounter bugs, please check at http://bugs.mysql.com. If your bug is not listed, please add it there for the benefit of others.
In this article, we learned how to create a simple stored procedure and run it from the command prompt. For more information on stored procedures in MySQL, visit the MySQL website at: http://dev.mysql.com/doc/mysql/en/Stored_Procedures.html.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |