12.24 Miscellaneous Functions其他函数

Table 12.29 Miscellaneous Functions其他函数

Name名称Description描述
ANY_VALUE()Suppress ONLY_FULL_GROUP_BY value rejection按值拒绝仅抑制_FULL _GROUP \u
BIN_TO_UUID()Convert binary UUID to string将二进制UUID转换为字符串
DEFAULT()Return the default value for a table column返回表列的默认值
GROUPING()Distinguish super-aggregate ROLLUP rows from regular rows区分超级聚合汇总行和常规行
INET_ATON()Return the numeric value of an IP address返回IP地址的数值
INET_NTOA()Return the IP address from a numeric value从数字值返回IP地址
INET6_ATON()Return the numeric value of an IPv6 address返回IPv6地址的数值
INET6_NTOA()Return the IPv6 address from a numeric value从数字值返回IPv6地址
IS_IPV4()Whether argument is an IPv4 address参数是否为IPv4地址
IS_IPV4_COMPAT()Whether argument is an IPv4-compatible address参数是否为IPv4兼容地址
IS_IPV4_MAPPED()Whether argument is an IPv4-mapped address参数是否为IPv4映射地址
IS_IPV6()Whether argument is an IPv6 address参数是否为IPv6地址
IS_UUID()Whether argument is a valid UUID参数是否为有效的UUID
MASTER_POS_WAIT()Block until the replica has read and applied all updates up to the specified position阻止,直到复制副本读取并应用所有更新到指定位置为止
NAME_CONST()Cause the column to have the given name使列具有给定的名称
SLEEP()Sleep for a number of seconds睡眠几秒钟
UUID()Return a Universal Unique Identifier (UUID)返回通用唯一标识符(UUID)
UUID_SHORT()Return an integer-valued universal identifier返回整数值通用标识符
UUID_TO_BIN()Convert string UUID to binary将字符串UUID转换为二进制
VALUES()Define the values to be used during an INSERT定义插入期间要使用的值