describe-table.asciidoc 606 B

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