Get the App
SLTechnology News&Howtos  ›  Database  › 

Cases of definition, modification, and deletion of stored procedures in mysql

Shulou Source: shulou.com Published: 2022-06-01 02:43:08 10月03日 Update

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

Tags: Process storage case global content local more good practical price information interval commodity article user look knowledge article system cache Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Redmi Shulou Technology Shulou Information MySQL