- 关于 TiDB
- 快速上手
- 部署集群
- 数据迁移
- 数据迁移概述
- 从 MySQL 迁移至 TiDB
- 从 CSV 文件迁移至 TiDB
- 运维操作
- 监控与告警
- 故障诊断
- 性能调优
- 系统调优
- 软件调优
- SQL 性能调优
- 教程
- TiDB 生态工具
- TiDB 生态工具功能概览
- TiDB 生态工具适用场景
- TiDB 工具下载
- Backup & Restore (BR)
- TiDB Binlog
- TiDB Lightning
- TiCDC 简介
- Dumpling 使用文档
- sync-diff-inspector
- Loader 使用文档
- Mydumper 使用文档
- Syncer 使用文档
- TiSpark
- 参考指南
- 架构
- 监控指标
- 安全加固
- 权限
- SQL
- SQL 语言结构和语法
- 属性
- 字面值
- Schema 对象名
- 关键字
- 用户自定义变量
- 表达式语法
- 注释语法
- SQL 语句
- ADD COLUMN
- ADD INDEX
- ADMIN
- ALTER DATABASE
- ALTER INSTANCE
- ALTER TABLE
- ALTER USER
- ANALYZE
- BACKUP
- BEGIN
- CHANGE COLUMN
- CHANGE DRAINER
- CHANGE PUMP
- COMMIT
- CREATE [GLOBAL|SESSION] BINDING
- CREATE DATABASE
- CREATE INDEX
- CREATE ROLE
- CREATE SEQUENCE
- CREATE TABLE LIKE
- CREATE TABLE
- CREATE USER
- CREATE VIEW
- DEALLOCATE
- DELETE
- DESC
- DESCRIBE
- DO
- DROP [GLOBAL|SESSION] BINDING
- DROP COLUMN
- DROP DATABASE
- DROP INDEX
- DROP ROLE
- DROP SEQUENCE
- DROP STATS
- DROP TABLE
- DROP USER
- DROP VIEW
- EXECUTE
- EXPLAIN ANALYZE
- EXPLAIN
- FLASHBACK TABLE
- FLUSH PRIVILEGES
- FLUSH STATUS
- FLUSH TABLES
- GRANT
- GRANT
- INSERT
- KILL [TIDB]
- LOAD STATS
- MODIFY COLUMN
- PREPARE
- RECOVER TABLE
- RENAME INDEX
- RENAME TABLE
- REPLACE
- RESTORE
- REVOKE
- REVOKE
- ROLLBACK
- SELECT
- SET DEFAULT ROLE
- SET [NAMES|CHARACTER SET]
- SET PASSWORD
- SET ROLE
- SET TRANSACTION
- SET [GLOBAL|SESSION]
- SHOW [BACKUPS|RESTORES]
- SHOW ANALYZE STATUS
- SHOW [GLOBAL|SESSION] BINDINGS
- SHOW BUILTINS
- SHOW CHARACTER SET
- SHOW COLLATION
- SHOW [FULL] COLUMNS FROM
- SHOW CONFIG
- SHOW CREATE SEQUENCE
- SHOW CREATE TABLE
- SHOW CREATE USER
- SHOW DATABASES
- SHOW DRAINER STATUS
- SHOW ENGINES
- SHOW ERRORS
- SHOW [FULL] FIELDS FROM
- SHOW GRANTS
- SHOW INDEX [FROM|IN]
- SHOW INDEXES [FROM|IN]
- SHOW KEYS [FROM|IN]
- SHOW MASTER STATUS
- SHOW PLUGINS
- SHOW PRIVILEGES
- SHOW [FULL] PROCESSLIST
- SHOW PROFILES
- SHOW PUMP STATUS
- SHOW SCHEMAS
- SHOW STATS_HEALTHY
- SHOW STATS_HISTOGRAMS
- SHOW STATS_META
- SHOW [GLOBAL|SESSION] STATUS
- SHOW TABLE NEXTROWID
- SHOW TABLE REGIONS
- SHOW TABLE STATUS
- SHOW [FULL] TABLES
- SHOW [GLOBAL|SESSION] VARIABLES
- SHOW WARNINGS
- SHUTDOWN
- Split Region 使用文档
- START TRANSACTION
- TRACE
- TRUNCATE
- UPDATE
- USE
- 数据类型
- 函数与操作符
- 约束
- 生成列
- SQL 模式
- 事务
- 垃圾回收 (GC)
- 视图
- 分区表
- 字符集和排序规则
- 系统表
- TiDB 系统表
- INFORMATION_SCHEMA
- TiDB 简介
- ANALYZE_STATUS
- CHARACTER_SETS
- CLUSTER_CONFIG
- CLUSTER_HARDWARE
- CLUSTER_INFO
- CLUSTER_LOAD
- CLUSTER_LOG
- CLUSTER_SYSTEMINFO
- COLLATIONS
- COLLATIONCHARACTERSET_APPLICABILITY
- COLUMNS
- DDL_JOBS
- ENGINES
- INSPECTION_RESULT
- INSPECTION_RULES
- INSPECTION_SUMMARY
- KEYCOLUMNUSAGE
- METRICS_SUMMARY
- METRICS_TABLES
- PARTITIONS
- PROCESSLIST
- SCHEMATA
- SEQUENCES
- SESSION_VARIABLES
- SLOW_QUERY
- STATISTICS
- TABLES
- TABLE_CONSTRAINTS
- TABLESTORAGESTATS
- TIDBHOTREGIONS
- TIDB_INDEXES
- TIDBSERVERSINFO
- TIFLASH_REPLICA
- TIKVREGIONPEERS
- TIKVREGIONSTATUS
- TIKVSTORESTATUS
- USER_PRIVILEGES
- VIEWS
- Metrics Schema
- SQL 语言结构和语法
- UI
- CLI
- 命令行参数
- 配置文件参数
- 系统变量
- 存储引擎
- TiUP
- 遥测
- 错误码与故障诊断
- TiCDC Open Protocol
- 通过拓扑 label 进行副本调度
- 常见问题解答 (FAQ)
- 术语表
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
SHOW BUILTINS
SHOW BUILTINS
语句用于列出 TiDB 中所有的内置函数。
语法图
ShowBuiltinsStmt:
示例
SHOW BUILTINS;
+-----------------------------+
| Supported_builtin_functions |
+-----------------------------+
| abs |
| acos |
| adddate |
| addtime |
| aes_decrypt |
| aes_encrypt |
| and |
| any_value |
| ascii |
| asin |
| atan |
| atan2 |
| benchmark |
| bin |
| bit_count |
| bit_length |
| bitand |
| bitneg |
| bitor |
| bitxor |
| case |
| ceil |
| ceiling |
| char_func |
| char_length |
| character_length |
| charset |
| coalesce |
| coercibility |
| collation |
| compress |
| concat |
| concat_ws |
| connection_id |
| conv |
| convert |
| convert_tz |
| cos |
| cot |
| crc32 |
| curdate |
| current_date |
| current_role |
| current_time |
| current_timestamp |
| current_user |
| curtime |
| database |
| date |
| date_add |
| date_format |
| date_sub |
| datediff |
| day |
| dayname |
| dayofmonth |
| dayofweek |
| dayofyear |
| decode |
| default_func |
| degrees |
| des_decrypt |
| des_encrypt |
| div |
| elt |
| encode |
| encrypt |
| eq |
| exp |
| export_set |
| extract |
| field |
| find_in_set |
| floor |
| format |
| format_bytes |
| format_nano_time |
| found_rows |
| from_base64 |
| from_days |
| from_unixtime |
| ge |
| get_format |
| get_lock |
| getparam |
| getvar |
| greatest |
| gt |
| hex |
| hour |
| if |
| ifnull |
| in |
| inet6_aton |
| inet6_ntoa |
| inet_aton |
| inet_ntoa |
| insert_func |
| instr |
| intdiv |
| interval |
| is_free_lock |
| is_ipv4 |
| is_ipv4_compat |
| is_ipv4_mapped |
| is_ipv6 |
| is_used_lock |
| isfalse |
| isnull |
| istrue |
| json_array |
| json_array_append |
| json_array_insert |
| json_contains |
| json_contains_path |
| json_depth |
| json_extract |
| json_insert |
| json_keys |
| json_length |
| json_merge |
| json_merge_patch |
| json_merge_preserve |
| json_object |
| json_pretty |
| json_quote |
| json_remove |
| json_replace |
| json_search |
| json_set |
| json_storage_size |
| json_type |
| json_unquote |
| json_valid |
| last_day |
| last_insert_id |
| lastval |
| lcase |
| le |
| least |
| left |
| leftshift |
| length |
| like |
| ln |
| load_file |
| localtime |
| localtimestamp |
| locate |
| log |
| log10 |
| log2 |
| lower |
| lpad |
| lt |
| ltrim |
| make_set |
| makedate |
| maketime |
| master_pos_wait |
| md5 |
| microsecond |
| mid |
| minus |
| minute |
| mod |
| month |
| monthname |
| mul |
| name_const |
| ne |
| nextval |
| not |
| now |
| nulleq |
| oct |
| octet_length |
| old_password |
| or |
| ord |
| password_func |
| period_add |
| period_diff |
| pi |
| plus |
| position |
| pow |
| power |
| quarter |
| quote |
| radians |
| rand |
| random_bytes |
| regexp |
| release_all_locks |
| release_lock |
| repeat |
| replace |
| reverse |
| right |
| rightshift |
| round |
| row_count |
| rpad |
| rtrim |
| schema |
| sec_to_time |
| second |
| session_user |
| setval |
| setvar |
| sha |
| sha1 |
| sha2 |
| sign |
| sin |
| sleep |
| space |
| sqrt |
| str_to_date |
| strcmp |
| subdate |
| substr |
| substring |
| substring_index |
| subtime |
| sysdate |
| system_user |
| tan |
| tidb_decode_key |
| tidb_decode_plan |
| tidb_is_ddl_owner |
| tidb_parse_tso |
| tidb_version |
| time |
| time_format |
| time_to_sec |
| timediff |
| timestamp |
| timestampadd |
| timestampdiff |
| to_base64 |
| to_days |
| to_seconds |
| trim |
| truncate |
| ucase |
| unaryminus |
| uncompress |
| uncompressed_length |
| unhex |
| unix_timestamp |
| upper |
| user |
| utc_date |
| utc_time |
| utc_timestamp |
| uuid |
| uuid_short |
| validate_password_strength |
| version |
| week |
| weekday |
| weekofyear |
| weight_string |
| xor |
| year |
| yearweek |
+-----------------------------+
268 rows in set (0.00 sec)
MySQL 兼容性
该语句是 TiDB 对 MySQL 语法的扩展。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论