如何获取获取mysql某个数据库下面的所有存储过程名称和视图名称

如题所述

可以查询存储过程的脚本:
select * from syscomments
可以查询表名,视图名,存储过程名等
select * from sysobjects
--where xtype='U' --表名
--where xtype='V' --视图名
--where xtype='PK' --主键
--where xtype='P' --存储过程
温馨提示:答案为网友推荐,仅供参考
相似回答