MySQL 常用语句

查询某个数据表被哪些存储过程用到的语句:

SELECT  *FROM mysql.proc
WHERE DB = 'DBNAME' AND `Type` = 'PROCEDURE' AND body LIKE '%TABLENAME%';

 

posted @ 2022-07-22 11:19  夕颜4948  阅读(18)  评论(0编辑  收藏  举报