Home > Database > Mysql Tutorial > body text

How can we view the list of stored functions in a specific MySQL database along with some other information?

王林
Release: 2023-08-30 21:45:06
forward
737 people have browsed it

我们如何查看特定 MySQL 数据库中存储函数的列表以及其他一些信息?

We can view the list of stored functions in a specific MySQL database and other information through the following query -

mysql> SHOW FUNCTION STATUS WHERE db = 'query'\G
*************************** 1. row ***************************
                  Db: query
                Name: factorial
                Type: FUNCTION
             Definer: root@localhost
            Modified: 2021-11-16 14:04:48
             Created: 2021-11-16 14:04:48
       Security_type: DEFINER
             Comment:
character_set_client: cp850
collation_connection: cp850_general_ci
  Database Collation: latin1_swedish_ci
*************************** 2. row ***************************
                  Db: query
                Name: Hello
                Type: FUNCTION
             Definer: root@localhost
            Modified: 2017-11-12 11:42:31
             Created: 2017-11-12 11:42:31
       Security_type: DEFINER
             Comment:
character_set_client: cp850
collation_connection: cp850_general_ci
  Database Collation: latin1_swedish_ci
2 rows in set (0.16 sec)
Copy after login

The above is the detailed content of How can we view the list of stored functions in a specific MySQL database along with some other information?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template