HELP

Name

HELP

Description

通过改命令可以查询到帮助的目录

语法:

  1. HELP <item>

可以通过 help 列出所有的 Doris 命令

  1. List of all MySQL commands:
  2. Note that all text commands must be first on line and end with ';'
  3. ? (\?) Synonym for `help'.
  4. clear (\c) Clear the current input statement.
  5. connect (\r) Reconnect to the server. Optional arguments are db and host.
  6. delimiter (\d) Set statement delimiter.
  7. edit (\e) Edit command with $EDITOR.
  8. ego (\G) Send command to mysql server, display result vertically.
  9. exit (\q) Exit mysql. Same as quit.
  10. go (\g) Send command to mysql server.
  11. help (\h) Display this help.
  12. nopager (\n) Disable pager, print to stdout.
  13. notee (\t) Don't write into outfile.
  14. pager (\P) Set PAGER [to_pager]. Print the query results via PAGER.
  15. print (\p) Print current command.
  16. prompt (\R) Change your mysql prompt.
  17. quit (\q) Quit mysql.
  18. rehash (\#) Rebuild completion hash.
  19. source (\.) Execute an SQL script file. Takes a file name as an argument.
  20. status (\s) Get status information from the server.
  21. system (\!) Execute a system shell command.
  22. tee (\T) Set outfile [to_outfile]. Append everything into given outfile.
  23. use (\u) Use another database. Takes database name as argument.
  24. charset (\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
  25. warnings (\W) Show warnings after every statement.
  26. nowarning (\w) Don't show warnings after every statement.
  27. resetconnection(\x) Clean session context.
  28. For server side help, type 'help contents'

通过 help contents 获取 Doris SQL 帮助目录

  1. Many help items for your request exist.
  2. To make a more specific request, please type 'help <item>',
  3. where <item> is one of the following
  4. categories:
  5. sql-functions
  6. sql-statements

Example

  1. 列出 Doris 所有的 SQL 帮助目录

    1. help contents
  2. 列出 Doris 集群所有函数目录的命令

    1. help sql-functions
  3. 列出日期函数下的所有函数列表

    1. help date-time-functions

Keywords

  1. HELP

Best Practice