show-functions.asciidoc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[sql-syntax-show-functions]]
  4. === SHOW FUNCTIONS
  5. .Synopsis
  6. [source, sql]
  7. ----
  8. SHOW FUNCTIONS [ LIKE pattern<1>? ]?
  9. ----
  10. <1> SQL match pattern
  11. .Description
  12. List all the SQL functions and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
  13. ["source","sql",subs="attributes,callouts,macros"]
  14. ----
  15. include-tagged::{sql-specs}/docs.csv-spec[showFunctions]
  16. ----
  17. The list of functions returned can be customized based on the pattern.
  18. It can be an exact match:
  19. ["source","sql",subs="attributes,callouts,macros"]
  20. ----
  21. include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeExact]
  22. ----
  23. A wildcard for exactly one character:
  24. ["source","sql",subs="attributes,callouts,macros"]
  25. ----
  26. include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeChar]
  27. ----
  28. A wildcard matching zero or more characters:
  29. ["source","sql",subs="attributes,callouts,macros"]
  30. ----
  31. include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeWildcard]
  32. ----
  33. Or of course, a variation of the above:
  34. ["source","sql",subs="attributes,callouts,macros"]
  35. ----
  36. include-tagged::{sql-specs}/docs.csv-spec[showFunctionsWithPattern]
  37. ----