时间:2021-07-01 10:21:17 帮助过:26人阅读
SHOW PROCEDURE STATUS WHERE db='servant_591up'
show function status; //函数查看存储过程或函数的创建代码show create procedure proc_name;show create function func_name;查看视图SELECT * from information_schema.VIEWS //视图SELECT * from information_schema.TABLES //表查看触发器方法一:语法:SHOW TRIGGERS [FROM db_name] [LIKE expr]实例:SHOW TRIGGERS/G //触发器方法二:对INFORMATION_SCHEMA数据库中的TRIGGERS表查询mysql>SELECT * FROM triggers T WHERE trigger_name=”mytrigger” /G