show-tables.asciidoc 328 B

12345678910111213141516
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[sql-syntax-show-tables]]
  4. === SHOW TABLES
  5. .Synopsis
  6. [source, sql]
  7. ----
  8. SHOW TABLES [ LIKE? pattern<1>? ]?
  9. ----
  10. <1> SQL match pattern
  11. .Description
  12. 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.