2018-06-22 18:40:25 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
2018-06-20 14:40:13 -04:00
|
|
|
[[sql-syntax-show-functions]]
|
|
|
|
=== SHOW FUNCTIONS
|
|
|
|
|
|
|
|
.Synopsis
|
|
|
|
[source, sql]
|
|
|
|
----
|
|
|
|
SHOW FUNCTIONS [ LIKE? pattern<1>? ]?
|
|
|
|
----
|
|
|
|
|
|
|
|
<1> SQL match pattern
|
|
|
|
|
|
|
|
.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.
|
2018-07-03 09:56:31 -04:00
|
|
|
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
|
|
----
|
|
|
|
include-tagged::{sql-specs}/docs.csv-spec[showFunctions]
|
|
|
|
----
|
|
|
|
|
|
|
|
The list of functions returned can be customized based on the pattern.
|
|
|
|
|
|
|
|
It can be an exact match:
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
|
|
----
|
|
|
|
include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeExact]
|
|
|
|
----
|
|
|
|
|
|
|
|
A wildcard for exactly one character:
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
|
|
----
|
|
|
|
include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeChar]
|
|
|
|
----
|
|
|
|
|
|
|
|
A wildcard matching zero or more characters:
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
|
|
----
|
|
|
|
include-tagged::{sql-specs}/docs.csv-spec[showFunctionsLikeWildcard]
|
|
|
|
----
|
|
|
|
|
|
|
|
Or of course, a variation of the above:
|
|
|
|
["source","sql",subs="attributes,callouts,macros"]
|
|
|
|
----
|
|
|
|
include-tagged::{sql-specs}/docs.csv-spec[showFunctionsWithPattern]
|
|
|
|
----
|