show-functions.asciidoc 995 B

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