describe-table.asciidoc 615 B

12345678910111213141516171819202122232425262728293031323334
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[sql-syntax-describe-table]]
  4. === DESCRIBE TABLE
  5. beta[]
  6. .Synopsis
  7. [source, sql]
  8. ----
  9. DESCRIBE [table identifier<1> | [LIKE pattern<2>]]
  10. ----
  11. <1> single table identifier or double quoted es multi index
  12. <2> SQL LIKE pattern
  13. or
  14. [source, sql]
  15. ----
  16. DESC [table identifier<1>|[LIKE pattern<2>]]
  17. ----
  18. <1> single table identifier or double quoted es multi index
  19. <2> SQL LIKE pattern
  20. .Description
  21. `DESC` and `DESCRIBE` are aliases to <<sql-syntax-show-columns>>.
  22. ["source","sql",subs="attributes,callouts,macros"]
  23. ----
  24. include-tagged::{sql-specs}/docs.csv-spec[describeTable]
  25. ----