View stored procedure/function definition in MySQL

前端 未结 8 763
鱼传尺愫
鱼传尺愫 2020-12-23 02:14

What is the MySQL command to view the definition of a stored procedure or function, similar to sp_helptext in Microsoft SQL Server?

I know that SH

8条回答
  •  忘掉有多难
    2020-12-23 02:52

    If you want to know the list of procedures you can run the following command -

    show procedure status;
    

    It will give you the list of procedures and their definers Then you can run the show create procedure ;

提交回复
热议问题