show-functions.asciidoc 1014 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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*: List all the SQL functions and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
  12. [source, sql]
  13. ----
  14. include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctions]
  15. ----
  16. The list of functions returned can be customized based on the pattern.
  17. It can be an exact match:
  18. [source, sql]
  19. ----
  20. include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeExact]
  21. ----
  22. A wildcard for exactly one character:
  23. [source, sql]
  24. ----
  25. include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeChar]
  26. ----
  27. A wildcard matching zero or more characters:
  28. [source, sql]
  29. ----
  30. include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsLikeWildcard]
  31. ----
  32. Or of course, a variation of the above:
  33. [source, sql]
  34. ----
  35. include-tagged::{sql-specs}/docs/docs.csv-spec[showFunctionsWithPattern]
  36. ----