找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索本站精品资源

首页 教程频道 mysql教程 查看内容

我们如何查看特定MySQL数据库中存储过程的列表以及完整信息? ...

作者:模板之家 2023-8-22 16:17 111人关注

我们可以使用mysql.proc来查看特定MySQL数据库中存储过程的列表以及完整信息,查询如下:mysqlgt;Select*frommysql.procwheredb=#39;query#39;ANDtype=#39;PROCEDURE#39;\G***************************1.row******** ...

我们如何查看特定MySQL数据库中存储过程的列表以及完整信息?

mysql> Select * from mysql.proc where db = 'query' AND type = 'PROCEDURE' \G *************************** 1. row *************************** db: query name: allrecords type: PROCEDURE specific_name: allrecords language: SQL sql_data_access: CONTAINS_SQL is_deterministic: NO security_type: DEFINER param_list: returns: body: BEGIN Select * from Student_info; END definer: root@localhost created: 2017-11-11 09:56:11 modified: 2017-11-11 09:56:11 sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUB STITUTION comment: character_set_client: cp850 collation_connection: cp850_general_ci db_collation: latin1_swedish_ci body_utf8: BEGIN Select * from Student_info; END 1 row in set (0.00 sec)


路过

雷人

握手

鲜花

鸡蛋
原作者: 网络收集 来自: 网络收集

全部回复(0)