1
我看起来像:可以获取所有MySQL系统功能的列表吗?
SHOW FUNCTION STATUS
获得的所有可用的系统功能列表当前服务器版本。直接从MySQL引擎获得像here这样的表是可行的吗?
谢谢!
我看起来像:可以获取所有MySQL系统功能的列表吗?
SHOW FUNCTION STATUS
获得的所有可用的系统功能列表当前服务器版本。直接从MySQL引擎获得像here这样的表是可行的吗?
谢谢!
如果您已经安装了帮助台(大多数二进制分发版做;有一个名为fill_help_tables.sql
如果没有脚本),你可以输入:
mysql> HELP FUNCTIONS
You asked for help about help category: "Functions"
For more information, type 'help <item>', where <item> is one of the following
topics:
PROCEDURE ANALYSE
categories:
Bit Functions
Comparison operators
Control flow functions
Date and Time Functions
Encryption Functions
Information Functions
Logical operators
Miscellaneous Functions
Numeric Functions
String Functions
...然后是这样的:
mysql> HELP String Functions
You asked for help about help category: "String Functions"
For more information, type 'help <item>', where <item> is one of the following
topics:
ASCII
BIN
BINARY OPERATOR
BIT_LENGTH
CAST
CHAR FUNCTION
...
...最后才做这样的事情:
mysql> HELP bin
Name: 'BIN'
Description:
Syntax:
BIN(N)
Returns a string representation of the binary value of N, where N is a
....
如何生成您自己的列表!
下面的查询(在mysql
数据库)提供了所有的功能和它们在一个列表类别:
SELECT help_category.name, help_topic.name
FROM help_topic JOIN help_category
ON help_category.help_category_id = help_topic.help_category_id
WHERE help_category.help_category_id IN (
SELECT help_category_id FROM help_category
WHERE parent_category_id=37
) ORDER BY 1;
如果您想为每一个文字说明,只需添加description
为一列在SELECT
子句,尽管它很长,所以你可能想用\G
而不是;
谢谢!这种方法将帮助我解决问题。 – kaa
你的意思是html表吗? –
不,不是html ...只是带有描述的函数列表。 – kaa
我不认为它可能通过命令。 –