drop.asciidoc 353 B

123456789101112131415161718
  1. [discrete]
  2. [[esql-drop]]
  3. === `DROP`
  4. Use `DROP` to remove columns:
  5. [source,esql]
  6. ----
  7. include::{esql-specs}/docs.csv-spec[tag=dropheight]
  8. ----
  9. Rather than specify each column by name, you can use wildcards to drop all
  10. columns with a name that matches a pattern:
  11. [source,esql]
  12. ----
  13. include::{esql-specs}/docs.csv-spec[tag=dropheightwithwildcard]
  14. ----