Cases of definition, modification, and deletion of stored procedures in mysql
This article is about the definition, modification, and deletion of stored procedures in mysql. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
1. Classification of stored procedures
System stored procedure
Local stored procedures (user-defined)
Temporary stored procedures (local [#], global [#] temporary stored procedures)
two。 Create a stored procedure
Select the commodity information create procedure sp_goods_price@minprice float in the price range, @ maxprice floatas select * from goods where price > = @ minprice and price = @ minprice and price