Drop all stored procedures in MySQL or using temporary stored procedures

后端 未结 7 2063
逝去的感伤
逝去的感伤 2020-12-13 20:39

Is there a statement that can drop all stored procedures in MySQL? Alternatively (if the first one is not possible), is there such thing as temporary stored procedures in My

7条回答
  •  甜味超标
    2020-12-13 21:04

    This seems to drop the procedures...not sure about implications though

    DELETE FROM mysql.proc WHERE db = 'Test' AND type = 'PROCEDURE';
    

提交回复
热议问题