2018-06-22 18:40:25 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
2018-06-20 14:40:13 -04:00
|
|
|
[[sql-syntax-show-tables]]
|
|
|
|
=== SHOW TABLES
|
|
|
|
|
|
|
|
.Synopsis
|
|
|
|
[source, sql]
|
|
|
|
----
|
|
|
|
SHOW TABLES [ LIKE? pattern<1>? ]?
|
|
|
|
----
|
|
|
|
|
|
|
|
<1> SQL match pattern
|
|
|
|
|
|
|
|
.Description
|
|
|
|
|
|
|
|
List the tables available to the current user and their type. The `LIKE` clause can be used to restrict the list of names to the given pattern.
|