一、查询数据库中所有存储过程名称
查询方式1: show procedure status where Db=‘数据库名称’
查询方式2:select name from mysql.proc where Db ='数据库名称’and type = ‘PROCEDURE’
二、新增存储过程名称配置数据到A表且过滤掉重复记录的命令
insert into A (ID,CreatedTime,PageName,ClassName,MethodName,Remarks,ProcName,ProcArgs,AppID) select UUID(),now(),‘index’,‘GeneralDb’, substring(ID,6),‘’, ID,‘’,‘0001’ from Test where Test.id not in (select ProcName from A)
本文介绍了如何查询数据库中的所有存储过程,提供了两种查询方法,并展示了如何使用SQL命令插入新的存储过程配置数据到A表,同时确保数据的唯一性。
444

被折叠的 条评论
为什么被折叠?



