Skip to content

Running queries

  • Use :nTDO to execute the current statement + next n-1 statements (statements splitted based on tree-sitter nodes) and render
  • Use :TDV to execute statements from the visual selection and render table‑formatted results in a split buffer.
  • Errors are shown with Teradata error code and description (as BTEQ would).
  • Set retlimit to control the maximum rows returned per query.
:nTDO      " run
:TDV      " run

Output & limits

  • Results are displayed in a table layout in a split.
  • retlimit lets you cap rows to control memory/latency.
  • Very large results (> ~10k lines) are possible but not the main target; consider TPT for heavy exports.

Demo

Terminal