Skip to content

Running queries

  • Use :TDO to execute the current statement (or the current visual selection if any) 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.
:TDO      " 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